/**
 * Frontend Styles for Private Access Page
 */

.aypanda-private-access-page {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: auto; /* Allow vertical scrolling */
}

.aypanda-pa-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    position: relative;
}

.aypanda-pa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /*backdrop-filter: blur(3px);*/
}

.aypanda-pa-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    width: 100%;
}

.aypanda-pa-logo {
    margin-bottom: 30px;
}

.aypanda-pa-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.aypanda-pa-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.aypanda-pa-tagline {
    font-size: 14px;
    color: #cccccc;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.aypanda-pa-access-text {
    font-size: 16px;
    color: #e0e0e0;
    margin: 10px 0 40px 0;
}

.aypanda-pa-countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 14px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aypanda-pa-worth-text {
    font-size: 16px;
    color: #e0e0e0;
    margin: 30px 0;
    font-style: italic;
}

.aypanda-pa-form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aypanda-pa-form input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 18px 25px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.aypanda-pa-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.aypanda-pa-form input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.aypanda-pa-button {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.aypanda-pa-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.aypanda-pa-button:active {
    transform: translateY(0);
}

.aypanda-pa-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.aypanda-pa-no-spam,
.aypanda-pa-no-release {
    font-size: 14px;
    color: #999999;
    margin: 10px 0;
}

.aypanda-pa-message {
    margin: 20px auto;
    padding: 15px 25px;
    border-radius: 5px;
    max-width: 600px;
    font-size: 16px;
}

.aypanda-pa-success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
}

.aypanda-pa-error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
}

/* Responsive */
@media (max-width: 768px) {
    .aypanda-pa-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .countdown-value {
        font-size: 36px;
    }
    
    .aypanda-pa-countdown {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .aypanda-pa-form {
        flex-direction: column;
    }
    
    .aypanda-pa-form input[type="email"] {
        min-width: 100%;
    }
}
