/* style/register-login.css */

/* Variables for consistent styling */
:root {
    --page-register-login-primary-color: #0A192F;
    --page-register-login-accent-color: #FFD700;
    --page-register-login-text-light: #F0F2F5;
    --page-register-login-text-dark: #333333;
    --page-register-login-link-hover: #E0B400;
    --page-register-login-border-radius: 8px;
    --page-register-login-spacing-medium: 20px;
    --page-register-login-spacing-large: 40px;
}

.page-register-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-register-login-text-light);
    background-color: var(--page-register-login-primary-color);
}

.page-register-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-register-login-spacing-medium);
}

.page-register-login__container--center {
    text-align: center;
}

.page-register-login__hero {
    background: linear-gradient(135deg, var(--page-register-login-primary-color) 0%, #1A365D 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--page-register-login-text-light);
    position: relative;
    overflow: hidden;
}

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

.page-register-login__hero > .page-register-login__container {
    position: relative;
    z-index: 1;
}

.page-register-login__hero-title {
    font-size: 3.5em;
    margin-bottom: var(--page-register-login-spacing-medium);
    color: var(--page-register-login-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-register-login__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto var(--page-register-login-spacing-large);
    opacity: 0.9;
}

.page-register-login__hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--page-register-login-spacing-medium);
    flex-wrap: wrap;
}

.page-register-login__section {
    padding: 80px 0;
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-text-light);
}

.page-register-login__section--dark {
    background-color: #1A2F4A; /* Slightly lighter dark blue for contrast */
}

.page-register-login__section-title {
    font-size: 2.5em;
    color: var(--page-register-login-accent-color);
    text-align: center;
    margin-bottom: var(--page-register-login-spacing-large);
    position: relative;
}

.page-register-login__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-register-login-accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-register-login__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    opacity: 0.85;
}

.page-register-login__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--page-register-login-border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    text-align: center;
}

.page-register-login__button--primary {
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    border: 2px solid var(--page-register-login-accent-color);
}

.page-register-login__button--primary:hover {
    background-color: var(--page-register-login-link-hover);
    transform: translateY(-3px);
}

.page-register-login__button--secondary {
    background-color: transparent;
    color: var(--page-register-login-accent-color);
    border: 2px solid var(--page-register-login-accent-color);
}

.page-register-login__button--secondary:hover {
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    transform: translateY(-3px);
}

.page-register-login__button--ghost {
    background-color: transparent;
    color: var(--page-register-login-text-light);
    border: 2px solid var(--page-register-login-text-light);
}

.page-register-login__button--ghost:hover {
    background-color: var(--page-register-login-text-light);
    color: var(--page-register-login-primary-color);
    transform: translateY(-3px);
}

.page-register-login__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-register-login__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-register-login__button--center {
    display: block;
    margin: var(--page-register-login-spacing-large) auto 0;
    max-width: 300px;
}

.page-register-login__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-register-login-spacing-large);
    margin-top: var(--page-register-login-spacing-large);
}

.page-register-login__feature-item {
    background-color: #1A2F4A;
    padding: var(--page-register-login-spacing-medium);
    border-radius: var(--page-register-login-border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-register-login__feature-item:hover {
    transform: translateY(-5px);
}

.page-register-login__feature-title {
    color: var(--page-register-login-accent-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-register-login__steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-register-login__steps li {
    background-color: #1A2F4A;
    margin-bottom: var(--page-register-login-spacing-medium);
    padding: var(--page-register-login-spacing-medium);
    border-radius: var(--page-register-login-border-radius);
    position: relative;
    padding-left: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-register-login__steps li::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: var(--page-register-login-spacing-medium);
    top: var(--page-register-login-spacing-medium);
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-register-login__step-title {
    color: var(--page-register-login-accent-color);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-register-login__steps ul {
    list-style: disc;
    margin-left: var(--page-register-login-spacing-medium);
    color: var(--page-register-login-text-light);
    opacity: 0.9;
}

.page-register-login__image-wrapper {
    margin: var(--page-register-login-spacing-large) auto;
    text-align: center;
    max-width: 800px;
}

.page-register-login__image {
    max-width: 100%;
    height: auto;
    border-radius: var(--page-register-login-border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register-login__image figcaption {
    margin-top: 15px;
    font-size: 0.9em;
    color: var(--page-register-login-text-light);
    opacity: 0.7;
}

.page-register-login__troubleshooting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-register-login-spacing-large);
    margin-top: var(--page-register-login-spacing-large);
}

.page-register-login__troubleshooting-item {
    background-color: var(--page-register-login-primary-color);
    padding: var(--page-register-login-spacing-medium);
    border-radius: var(--page-register-login-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--page-register-login-accent-color);
}

.page-register-login__troubleshooting-title {
    color: var(--page-register-login-accent-color);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-register-login__app-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--page-register-login-spacing-large);
    margin-top: var(--page-register-login-spacing-large);
}

.page-register-login__app-info {
    flex: 1 1 400px;
    max-width: 500px;
}

.page-register-login__app-title {
    color: var(--page-register-login-accent-color);
    font-size: 2em;
    margin-bottom: var(--page-register-login-spacing-medium);
}

.page-register-login__app-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--page-register-login-spacing-medium);
}

.page-register-login__app-info ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-register-login__app-info ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-register-login-accent-color);
}

.page-register-login__image--app {
    max-width: 350px;
    height: auto;
}

.page-register-login__related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-register-login-spacing-medium);
    margin-top: var(--page-register-login-spacing-large);
}

.page-register-login__article-card {
    background-color: #1A2F4A;
    padding: var(--page-register-login-spacing-medium);
    border-radius: var(--page-register-login-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-register-login__article-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    min-height: 60px; /* Ensure consistent height for titles */
}

.page-register-login__article-title a {
    color: var(--page-register-login-accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-register-login__article-description {
    font-size: 0.95em;
    color: var(--page-register-login-text-light);
    opacity: 0.8;
    margin-bottom: var(--page-register-login-spacing-medium);
    flex-grow: 1;
}

.page-register-login__section--cta {
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    padding: 60px 0;
}

.page-register-login__section--cta .page-register-login__section-title {
    color: var(--page-register-login-primary-color);
}

.page-register-login__section--cta .page-register-login__section-title::after {
    background-color: var(--page-register-login-primary-color);
}

.page-register-login__section--cta .page-register-login__section-text {
    color: var(--page-register-login-primary-color);
    opacity: 0.9;
}

.page-register-login__section--cta .page-register-login__button--primary {
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-accent-color);
    border-color: var(--page-register-login-primary-color);
}

.page-register-login__section--cta .page-register-login__button--primary:hover {
    background-color: #050F1A; /* Slightly darker primary color */
    border-color: #050F1A;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-register-login__hero-title {
        font-size: 2.8em;
    }
    .page-register-login__section-title {
        font-size: 2em;
    }
    .page-register-login__app-download {
        flex-direction: column;
    }
    .page-register-login__app-info, .page-register-login__image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register-login__hero {
        padding: 80px 0;
    }
    .page-register-login__hero-title {
        font-size: 2.2em;
    }
    .page-register-login__hero-description {
        font-size: 1em;
    }
    .page-register-login__section {
        padding: 60px 0;
    }
    .page-register-login__section-title {
        font-size: 1.8em;
    }
    .page-register-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-register-login__button {
        width: 80%;
        max-width: 300px;
    }
    .page-register-login__steps li {
        padding-left: 55px;
    }
    .page-register-login__steps li::before {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .page-register-login__hero-title {
        font-size: 1.8em;
    }
    .page-register-login__section-title {
        font-size: 1.5em;
    }
    .page-register-login__section-text {
        font-size: 0.95em;
    }
    .page-register-login__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-register-login__steps li {
        padding-left: 15px;
        padding-top: 50px;
    }
    .page-register-login__steps li::before {
        top: 15px;
        left: 15px;
    }
    .page-register-login__feature-item, .page-register-login__troubleshooting-item, .page-register-login__article-card {
        padding: 15px;
    }
}