/* style/registration-login.css */

/* Variables */
:root {
    --page-registration-login-primary-color: #003366;
    --page-registration-login-secondary-color: #FFCC00;
    --page-registration-login-text-light: #ffffff;
    --page-registration-login-text-dark: #333333;
    --page-registration-login-background-light: #f4f7f6;
    --page-registration-login-accent-dark: #997a00; /* Darker variant of secondary for text on light secondary background */
    --page-registration-login-accent-light: #4d7094; /* Lighter variant of primary for text on dark primary background */
    --page-registration-login-border-color: #e0e0e0;
}

.page-registration-login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--page-registration-login-text-dark);
    background-color: var(--page-registration-login-background-light);
}

.page-registration-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-registration-login__hero-section {
    background: linear-gradient(135deg, var(--page-registration-login-primary-color), #004d99);
    color: var(--page-registration-login-text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.page-registration-login__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-registration-login__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-registration-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-registration-login-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-registration-login__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-registration-login__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-registration-login__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-registration-login__cta-button--primary {
    background-color: var(--page-registration-login-secondary-color);
    color: var(--page-registration-login-primary-color);
    border: 2px solid var(--page-registration-login-secondary-color);
}

.page-registration-login__cta-button--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-registration-login__cta-button--secondary {
    background-color: transparent;
    color: var(--page-registration-login-secondary-color);
    border: 2px solid var(--page-registration-login-secondary-color);
}

.page-registration-login__cta-button--secondary:hover {
    background-color: var(--page-registration-login-secondary-color);
    color: var(--page-registration-login-primary-color);
    transform: translateY(-3px);
}

.page-registration-login__hero-image-container {
    margin-top: 40px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

.page-registration-login__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-registration-login__section {
    padding: 60px 0;
}

.page-registration-login__section:nth-of-type(even) {
    background-color: #fcfcfc;
}

.page-registration-login__section-title {
    font-size: 2.5em;
    color: var(--page-registration-login-primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-registration-login__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-registration-login-text-dark);
}

/* Register Guide Section */
.page-registration-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-registration-login__step-item {
    background-color: var(--page-registration-login-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-registration-login__step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-registration-login__step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    color: var(--page-registration-login-secondary-color);
}

.page-registration-login__step-title {
    font-size: 1.5em;
    color: var(--page-registration-login-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-registration-login__step-item p {
    font-size: 1em;
    color: var(--page-registration-login-text-dark);
}

.page-registration-login__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Login Guide Section */
.page-registration-login__login-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.page-registration-login__login-form {
    background-color: var(--page-registration-login-text-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-registration-login__form-group {
    margin-bottom: 25px;
}

.page-registration-login__form-label {
    display: block;
    font-size: 1.1em;
    color: var(--page-registration-login-primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.page-registration-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-registration-login-border-color);
    border-radius: 6px;
    font-size: 1em;
    color: var(--page-registration-login-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-registration-login__form-input:focus {
    border-color: var(--page-registration-login-secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
    outline: none;
}

.page-registration-login__form-submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--page-registration-login-primary-color);
    color: var(--page-registration-login-text-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.page-registration-login__form-submit-button:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

.page-registration-login__forgot-password {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--page-registration-login-primary-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-registration-login__forgot-password:hover {
    color: var(--page-registration-login-secondary-color);
    text-decoration: underline;
}

.page-registration-login__login-form-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.page-registration-login__form-image-asset {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-registration-login__login-tip {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95em;
    color: #666;
}

/* Advantages Section */
.page-registration-login__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-registration-login__advantage-item {
    background-color: var(--page-registration-login-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-registration-login__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: var(--page-registration-login-secondary-color);
}

.page-registration-login__advantage-title {
    font-size: 1.4em;
    color: var(--page-registration-login-primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-registration-login__advantage-item p {
    font-size: 0.95em;
    color: var(--page-registration-login-text-dark);
}

/* Download App Section */
.page-registration-login__section--download-app {
    background-color: var(--page-registration-login-primary-color);
    color: var(--page-registration-login-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-registration-login__section--download-app .page-registration-login__section-title {
    color: var(--page-registration-login-secondary-color);
}

.page-registration-login__section--download-app .page-registration-login__section-description {
    color: #e0e0e0;
}

.page-registration-login__download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-registration-login__download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-registration-login__download-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Related Articles Section */
.page-registration-login__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-registration-login__article-card {
    background-color: var(--page-registration-login-text-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-registration-login__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-registration-login__article-title {
    font-size: 1.3em;
    color: var(--page-registration-login-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-registration-login__article-title a {
    color: inherit;
    text-decoration: none;
}

.page-registration-login__article-title a:hover {
    color: var(--page-registration-login-secondary-color);
    text-decoration: underline;
}

.page-registration-login__article-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-registration-login__read-more {
    display: inline-block;
    background-color: var(--page-registration-login-secondary-color);
    color: var(--page-registration-login-primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-registration-login__read-more:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-registration-login__main-title {
        font-size: 2.8em;
    }
    .page-registration-login__section-title {
        font-size: 2em;
    }
    .page-registration-login__hero-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-registration-login__main-title {
        font-size: 2.2em;
    }
    .page-registration-login__hero-description {
        font-size: 1.1em;
    }
    .page-registration-login__cta-group {
        flex-direction: column;
    }
    .page-registration-login__cta-button {
        width: 80%;
        max-width: 300px;
    }
    .page-registration-login__section {
        padding: 40px 0;
    }
    .page-registration-login__steps-grid, .page-registration-login__advantages-grid, .page-registration-login__article-grid {
        grid-template-columns: 1fr;
    }
    .page-registration-login__login-form-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-registration-login__main-title {
        font-size: 1.8em;
    }
    .page-registration-login__hero-description {
        font-size: 1em;
    }
    .page-registration-login__section-title {
        font-size: 1.8em;
    }
    .page-registration-login__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-registration-login__form-input, .page-registration-login__form-submit-button {
        font-size: 0.95em;
    }
}