.secure-access-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.secure-access-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.access-required-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.access-required-notice h2 {
    color: #495057;
    margin-bottom: 15px;
}

#secure-resource-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 20px auto 0;
}

#secure-name, 
#secure-email {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#secure-name:focus, 
#secure-email:focus {
    outline: none;
    border-color: #007cba;
}

#secure-resource-form button {
    padding: 12px 24px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#secure-resource-form button:hover:not(:disabled) {
    background-color: #005a87;
}

#secure-resource-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#secure-resource-message {
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
}

#secure-resource-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#secure-resource-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Verification Success Page Styles */
.verification-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.success-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.success-header {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.access-button {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.3s;
}

.access-button:hover {
    background: #218838;
    color: white;
}

.countdown-info {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

#countdown {
    font-weight: bold;
    color: #28a745;
}