/**
 * Password Protection Styling
 *
 * Styles for the custom password protection form.
 *
 * @package Solmetex_Custom_Functionality
 */

/* Main container */
.password_form_title {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

/* Content box */
.password_box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Form title */
.password_box h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 28px;
    color: #0056b3;
    text-align: center;
    font-weight: 600;
}

/* Form content */
.password_form_content {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Quote styling */
.password_form_content blockquote {
    border-left: 4px solid #0078c1;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.password_form_content cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}

/* Password form */
.password_box form {
    margin: 25px 0;
    text-align: center;
}

.password_box form p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #444;
    font-weight: 500;
}

/* Password field */
#password-field {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#password-field:focus {
    border-color: #0078c1;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 120, 193, 0.2);
}

/* Submit button */
.password_box input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0078c1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.password_box input[type="submit"]:hover {
    background-color: #005a94;
    transform: translateY(-2px);
}

.password_box input[type="submit"]:active {
    transform: translateY(0);
}

/* Content below password form */
.password_content_below_form {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Protected Content Styling (after authentication) */
.dealer-protected-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.dealer-protected-content h2 {
    color: #0078c1;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.dealer-protected-content h3 {
    color: #333;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.dealer-protected-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.dealer-protected-content ul,
.dealer-protected-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.dealer-protected-content li {
    margin-bottom: 8px;
}

.dealer-protected-content a {
    color: #0078c1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dealer-protected-content a:hover {
    color: #005a94;
    text-decoration: underline;
}

.dealer-protected-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.dealer-protected-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.dealer-protected-content table th {
    background-color: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ddd;
}

.dealer-protected-content table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.dealer-protected-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Dealer Information Styling */
.dealer-info-container {
    margin: 0;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.dealer-info-inner {
    padding: 30px 0;
}

.dealer-info-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.dealer-info-column {
    flex: 1;
    min-width: 300px;
}

.dealer-info-column h2 {
    font-size: 26px;
    color: #0078c1;
    margin-bottom: 20px;
    font-weight: 600;
}

.dealer-info-column p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.dealer-links {
    padding: 5px 0;
}

.dealer-link-item {
    margin-bottom: 10px;
}

.dealer-link-item a {
    color: #0078c1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dealer-link-item a:hover {
    color: #005a94;
    text-decoration: underline;
}

/* Contact Card */
.contact-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    border-radius: 1rem;
    padding: 20px;
    gap: 20px;
}

.contact-image {
    flex: 0 0 33.33%;
    max-width: 225px;
}

.contact-image img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-name h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.contact-name p {
    margin: 0 0 15px 0;
    font-weight: 500;
}

.contact-info a {
    color: #0078c1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #005a94;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .password_form_title {
        padding: 40px 0;
    }
    
    .password_box {
        max-width: 90%;
        padding: 25px;
    }
    
    .password_box h3 {
        font-size: 22px;
    }
    
    .password_content_below_form {
        max-width: 90%;
        padding: 15px;
    }
    
    .dealer-info-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-image {
        margin-bottom: 15px;
    }
    
    .contact-details {
        width: 100%;
    }
    
    .dealer-protected-content {
        padding: 15px;
    }
    
    .dealer-protected-content h2 {
        font-size: 24px;
    }
    
    .dealer-protected-content h3 {
        font-size: 20px;
    }
    
    .dealer-protected-content table {
        display: block;
        overflow-x: auto;
    }
} 

/* General password protected page styling */
.password-protected-page .password_box h3 {
    color: #0078c1;
}

.password-protected-page .password_box {
    border-top: 5px solid #0078c1;
}

.password-protected-page #password-field {
    border: 2px solid #ddd;
} 