* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: 
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2))
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25))
        drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.main-nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nav-btn.active {
    background: #FFD700;
    color: #000;
    font-weight: 700;
}

.status-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status-buttons-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.status-dropdown-mobile {
    display: none;
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #FFD700;
    background: white;
    color: #333;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: capitalize;
}

.status-dropdown-mobile:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.status-btn {
    padding: 12px 24px;
    border: 2px solid #FFD700;
    background: white;
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.status-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.status-btn.active {
    background: #FFD700;
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    font-weight: 700;
}

.actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.actions-left {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.actions-left a {
    text-decoration: none;
}

.search-box {
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #FFD700;
    color: #000000;
    font-weight: 600;
}

.btn-primary:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFA500;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.actor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.actor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.actor-card-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 20px;
    color: #000;
    text-align: center;
    position: relative;
    border-top: 3px solid #000;
}

.actor-card-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.3;
}

.actor-card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 15px;
    object-fit: cover;
    background: #f0f0f0;
    display: block;
}

.actor-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.actor-card-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    text-transform: capitalize;
    background: rgba(255, 255, 255, 0.2);
}

.actor-card-body {
    padding: 20px;
}

.actor-card-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.actor-card-info:last-child {
    border-bottom: none;
}

.actor-card-label {
    font-weight: 600;
    color: #666;
}

.actor-card-value {
    color: #333;
    text-align: right;
}

.actor-card-actions {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

.actor-card-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-edit {
    background: #FFD700;
    color: #000000;
}

.btn-edit:hover {
    background: #FFA500;
}

.btn-delete {
    background: white;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-delete:hover {
    background: #dc3545;
    border-color: #c82333;
    color: white;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-closed {
    display: none !important;
    visibility: hidden !important;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    height: 95vh;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
}

#actorModal .modal-content {
    background: transparent;
    box-shadow: none;
}

#actorProfile {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

#actorModal .close {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

#actorModal .close:hover,
#actorModal .close:focus {
    color: #000;
    background: rgba(255, 255, 255, 1);
}

/* Actor Profile (Sports Team Style) */
.actor-profile {
    display: flex;
    flex-direction: column;
}

.profile-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 40px;
    color: #000;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #000;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid white;
    object-fit: cover;
    background: #f0f0f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.profile-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    text-transform: capitalize;
    margin-top: 10px;
}

.profile-body {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.profile-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
}

.profile-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-detail {
    margin-bottom: 15px;
}

.profile-detail:last-child {
    margin-bottom: 0;
}

.profile-detail-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.profile-detail-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.profile-actions {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Headshot Flip Card Styles */
.headshot-flip-card {
    width: 100%;
    height: 100%;
    min-height: 500px;
    perspective: 1500px;
    position: relative;
}

.headshot-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.headshot-flip-card:hover .headshot-card-inner {
    transform: rotateY(180deg);
}

.headshot-card-front,
.headshot-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.headshot-card-front {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headshot-card-back {
    background: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.headshot-front-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.headshot-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.headshot-name-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(255,215,0,0.95) 0%, rgba(255,215,0,0.7) 50%, transparent 100%);
    color: #000;
    padding: 40px 20px 20px;
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    letter-spacing: 2px;
    z-index: 10;
    text-align: center;
}

.headshot-hover-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.headshot-flip-card:hover .headshot-hover-hint {
    opacity: 0;
}

.headshot-card-front:hover .headshot-hover-hint {
    opacity: 1;
}

.headshot-flip-card.active .headshot-hover-hint,
.headshot-flip-card:hover .headshot-hover-hint {
    opacity: 0;
}

.headshot-back-content {
    width: 100%;
    height: 100%;
    padding: 60px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.headshot-back-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #FFD700;
}

.headshot-back-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.headshot-back-status {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #000;
    background: #FFD700;
}

.headshot-back-body {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.headshot-back-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
}

.headshot-back-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.headshot-back-detail {
    margin-bottom: 20px;
}

.headshot-back-detail:last-child {
    margin-bottom: 0;
}

.headshot-back-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.headshot-back-value {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.headshot-back-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
    border-top: 2px solid #dee2e6;
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.custom-modal-content {
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-modal-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    color: #000;
    border-top: 3px solid #000;
}

.custom-modal-header.success {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-top: 3px solid #000;
}

.custom-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.custom-modal-body {
    padding: 30px;
    color: #333;
}

.custom-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.changes-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #FFD700;
}

.changes-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95rem;
    line-height: 1.6;
}

.changes-list-item:last-child {
    border-bottom: none;
}

.changes-list-item strong {
    color: #FFD700;
    font-weight: 600;
}

.changes-list-item .change-arrow {
    color: #999;
    margin: 0 10px;
}

.custom-modal-actions {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.custom-modal-actions .btn {
    min-width: 100px;
}

/* Form Styles */
#addEditModal .modal-content {
    padding: 40px;
    background-color: white;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
}

#modalTitle {
    margin-bottom: 30px;
    color: #FFD700;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-help-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.headshot-upload-options {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.headshot-upload-options input[type="file"] {
    flex: 1;
    min-width: 200px;
}

.btn-camera {
    background: #FFD700;
    color: #000000;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-camera:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.camera-preview {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #FFD700;
}

.camera-preview video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px;
    background: #000;
}

.camera-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.headshot-preview {
    margin-top: 15px;
}

.headshot-preview img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Status Colors - Black and Gold Theme */
.status-registered { background: #f8f9fa; color: #333; border: 2px solid #FFD700; }
.status-checked-in { background: #FFD700; color: #000000; }
.status-not-seen { background: #e9ecef; color: #333; border: 2px solid #999; }
.status-audition { background: #FFA500; color: #000000; }
.status-interview { background: #D4AF37; color: #000000; }
.status-green-room { background: #FFD700; color: #000000; }
.status-complete { background: #d4edda; color: #155724; border: 2px solid #28a745; }

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 0;
    }
    
    .header {
        margin-bottom: 20px;
    }
    
    .logo {
        max-width: 180px;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-nav {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .main-nav-buttons {
        padding: 12px 15px;
        gap: 10px;
        width: 100%;
    }
    
    .nav-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 16px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .status-nav {
        flex-direction: column;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .status-buttons-desktop {
        display: none;
    }
    
    .status-dropdown-mobile {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .status-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .actions-bar {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .actions-left {
        width: 100%;
        flex-direction: column;
    }
    
    .actions-left .btn,
    .actions-left a {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .search-box {
        max-width: 100%;
        width: 100%;
    }
    
    .search-box input {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .actors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    .actor-card {
        border-radius: 15px;
        padding: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .actor-card-header {
        padding: 10px 0;
    }
    
    .actor-card-image {
        width: 80px;
        height: 80px;
    }
    
    .actor-card-name {
        font-size: 1.1rem;
        margin: 8px 0;
    }
    
    .actor-card-status {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .actor-card-body {
        padding: 12px 0;
    }
    
    .actor-card-actions {
        padding: 12px 0 0;
        gap: 10px;
    }
    
    .btn-edit,
    .btn-delete {
        flex: 1;
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 44px; /* Better touch target */
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-body {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        padding: 0;
    }
    
    .headshot-name-overlay {
        font-size: 1.8rem;
        padding: 25px 15px 15px;
    }
    
    .headshot-hover-hint {
        font-size: 0.9rem;
        padding: 12px 20px;
        bottom: 20px;
    }
    
    .headshot-back-content {
        padding: 30px 20px 20px;
    }
    
    .headshot-back-name {
        font-size: 1.8rem;
    }
    
    .headshot-back-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .headshot-back-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .headshot-back-actions .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* For mobile, use tap instead of hover */
    .headshot-flip-card.active .headshot-card-inner {
        transform: rotateY(180deg);
    }
    
    .custom-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .custom-modal-header h2 {
        font-size: 1.4rem;
        padding: 20px 20px 15px;
    }
    
    .custom-modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .custom-modal-actions {
        flex-direction: column;
        padding: 15px 20px;
        gap: 12px;
    }
    
    .custom-modal-actions .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* Form improvements for mobile */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 1rem;
        min-height: 44px; /* Better touch target */
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* Better spacing for mobile */
    .no-actors {
        padding: 40px 20px;
        font-size: 1.1rem;
    }
    
    /* Header improvements */
    .header button {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        margin-top: 10px;
    }
}

