/**
 * Team Photo Styles
 * Estilos específicos para el sistema de fotos de equipos
 */

/* =================================
   CONTENEDOR PRINCIPAL DE FOTO
   ================================= */
.rj-team-photo-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Cuando hay foto */
.rj-team-photo-display {
    text-align: center;
}

.rj-team-photo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.rj-team-photo-image:hover {
    transform: scale(1.02);
}

.rj-team-photo-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rj-team-photo-date {
    color: #6c757d;
    font-style: italic;
}

/* Cuando no hay foto */
.rj-team-photo-empty {
    text-align: center;
    padding: 40px 20px;
}

.rj-team-photo-placeholder {
    margin-bottom: 20px;
}

.rj-photo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

.rj-team-photo-placeholder p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* =================================
   BOTONES
   ================================= */
.rj-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.rj-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.rj-btn:active {
    transform: translateY(0);
}

.rj-btn-primary {
    background: #007cba;
    color: #fff;
}

.rj-btn-primary:hover {
    background: #005a87;
    color: #fff;
}

.rj-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.rj-btn-secondary:hover {
    background: #545b62;
    color: #fff;
}

/* =================================
   MODAL
   ================================= */
.rj-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rj-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rj-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
}

.rj-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.rj-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.rj-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.rj-modal-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.rj-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
}

/* Prevenir scroll del body cuando modal está abierto */
body.rj-modal-open {
    overflow: hidden;
}

/* =================================
   PASOS DEL MODAL
   ================================= */
.rj-upload-step {
    display: none;
}

.rj-upload-step.active {
    display: block;
}

/* =================================
   PASO 1: SELECCIÓN DE ARCHIVO
   ================================= */
.rj-file-drop-area {
    border: 3px dashed #ccc;
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.rj-file-drop-area:hover,
.rj-file-drop-area.drag-over {
    border-color: #007cba;
    background: #f0f8ff;
}

.rj-upload-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.7;
}

.rj-drop-content p {
    font-size: 16px;
