/**
 * Team Claim Modal Styles
 * 
 * Dark-themed modal for Team Claim booking flow selection
 * 
 * @package HotelMaster
 * @subpackage BookingFlow
 */

@import url('../css/event-booking-typography.css');

.team-claim-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--event-font-family, "DM Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.team-claim-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.team-claim-modal-content {
    position: relative;
    background: #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: teamClaimModalSlideIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes teamClaimModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.team-claim-modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.team-claim-modal-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.team-claim-modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.team-claim-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.team-claim-modal-close:active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
}

.team-claim-modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.team-claim-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.team-claim-modal-description {
    margin: 0 0 24px 0;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.6;
}

.team-claim-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-claim-option {
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.team-claim-option:hover {
    border-color: color-mix(in srgb, var(--event-cta-color, var(--event-primary-color, #4323FF)) 50%, transparent);
    background: #252525;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--event-cta-shadow-soft, color-mix(in srgb, var(--event-cta-color, #4323FF) 22%, transparent));
}

.team-claim-option.expanded {
    border-color: color-mix(in srgb, var(--event-cta-color, var(--event-primary-color, #4323FF)) 78%, transparent);
    background: #252525;
    box-shadow: 0 4px 16px var(--event-cta-shadow-soft, color-mix(in srgb, var(--event-cta-color, #4323FF) 32%, transparent));
}

.team-claim-option-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.team-claim-option-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--event-cta-color, var(--event-primary-color, #4323FF)) 22%, transparent);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--event-cta-color, var(--event-primary-color, #4323FF)) 42%, transparent);
}

.team-claim-option-icon {
    color: var(--event-cta-color, var(--event-primary-color, #4323FF));
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    display: block;
}

.team-claim-option-title-wrapper {
    flex: 1;
}

.team-claim-option-title {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.team-claim-option-subtitle {
    margin: 0;
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.4;
}

.team-claim-option-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: teamClaimContentSlideDown 0.3s ease-out;
}

@keyframes teamClaimContentSlideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
}

.team-claim-option-description {
    margin: 0 0 16px 0;
    color: #d0d0d0;
    font-size: 15px;
    line-height: 1.6;
}

.team-claim-option-actions-intro {
    margin: 0 0 12px 0;
    color: #d0d0d0;
    font-size: 15px;
    font-weight: 500;
}

.team-claim-option-actions-list {
    margin: 0 0 16px 0;
    padding-left: 20px;
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.8;
}

.team-claim-option-actions-list li {
    margin-bottom: 8px;
}

.team-claim-option-note {
    margin: 16px 0;
    padding: 12px;
    background: var(--event-cta-tint-10, color-mix(in srgb, var(--event-cta-color, #4323FF) 12%, transparent));
    border-left: 3px solid var(--event-cta-color, var(--event-primary-color, #4323FF));
    border-radius: 4px;
    color: #d0d0d0;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
}

.team-claim-team-code-section {
    margin: 20px 0;
}

.team-claim-team-code-label {
    display: block;
    margin-bottom: 8px;
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
}

.team-claim-team-code-input {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.team-claim-team-code-input:focus {
    outline: none;
    border-color: var(--event-cta-color, var(--event-primary-color, #4323FF));
    box-shadow: 0 0 0 3px var(--event-cta-tint-10, color-mix(in srgb, var(--event-cta-color, #4323FF) 22%, transparent));
}

.team-claim-team-code-input::placeholder {
    color: #6b6b6b;
}

.team-claim-action-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--event-cta-color, var(--event-primary-color, #4323FF));
    border: none;
    border-radius: 8px;
    color: var(--event-on-cta-color, #ffffff);
    font-family: var(--event-font-family, "DM Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.team-claim-action-button:hover {
    background: var(--event-cta-hover, color-mix(in srgb, var(--event-cta-color, #4323FF) 85%, #0a0a0a));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--event-cta-shadow-soft, color-mix(in srgb, var(--event-cta-color, #4323FF) 42%, transparent));
}

.team-claim-action-button:active {
    transform: translateY(0);
}

.team-claim-action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-claim-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .team-claim-modal-header {
        padding: 24px 20px;
    }
    
    .team-claim-modal-title {
        font-size: 24px;
    }
    
    .team-claim-modal-close {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .team-claim-modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .team-claim-modal-body {
        padding: 24px 20px;
    }
    
    .team-claim-option {
        padding: 16px 20px;
    }
    
    .team-claim-option-header {
        gap: 12px;
    }
    
    .team-claim-option-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .team-claim-option-icon {
        font-size: 18px;
    }
    
    .team-claim-option-title {
        font-size: 18px;
    }
    
    .team-claim-option-subtitle {
        font-size: 13px;
    }
}

/* Scrollbar styling for modal body */
.team-claim-modal-body::-webkit-scrollbar {
    width: 8px;
}

.team-claim-modal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.team-claim-modal-body::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

.team-claim-modal-body::-webkit-scrollbar-thumb:hover {
    background: #6a6a6a;
}

