/* Form Styles for Registration and Login Pages */

/* Registration Page Layout */
.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0;
}

.registration-content h2,
.login-content h2 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.registration-content p,
.login-content p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

.benefits-box {
    background-color: #f5f9ff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.benefits-box h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.benefits-box ul {
    list-style-type: none;
}

.benefits-box ul li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.benefits-box ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.registration-steps {
    margin-bottom: 30px;
}

.registration-steps h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.step-content p {
    margin-bottom: 0;
    color: #666;
}

.important-notice {
    background-color: #fff8f0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

.important-notice h3 {
    color: #e67e22;
    font-size: 20px;
    margin-bottom: 15px;
}

.important-notice ul {
    list-style-type: none;
}

.important-notice ul li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.important-notice ul li:before {
    content: '!';
    position: absolute;
    left: 5px;
    top: 8px;
    color: #e67e22;
    font-weight: bold;
    font-size: 16px;
}

.help-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
}

.help-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.help-section ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.help-section ul li {
    padding: 8px 0;
}

/* Form Styling */
.registration-form-wrapper,
.login-form-wrapper {
    width: 100%;
}

.registration-form,
.login-form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.registration-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.password-strength {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.strength-meter {
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    width: 70%;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.strength-meter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #ff4d4d;
    transition: width 0.3s, background-color 0.3s;
}

.strength-meter.weak::before {
    width: 33%;
    background-color: #ff4d4d;
}

.strength-meter.medium::before {
    width: 66%;
    background-color: #ffa64d;
}

.strength-meter.strong::before {
    width: 100%;
    background-color: #4caf50;
}

.strength-text {
    font-size: 12px;
    color: #888;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.form-checkbox label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    font-size: 16px;
    padding: 12px;
}

.login-link,
.register-link,
.forgot-password {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.login-link a,
.register-link a,
.forgot-password a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Promo Banner */
.promo-banner {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
}

.promo-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.promo-content p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

/* Login Page Specific Styles */
.login-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 30px 0;
}

.login-alternative {
    margin-top: 40px;
}

.login-alternative h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.alternative-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.alternative-option {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.alternative-option img {
    margin-bottom: 15px;
}

.alternative-option h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.alternative-option p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    border: none;
}

.qr-code {
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.login-security {
    margin-top: 40px;
    margin-bottom: 40px;
}

.login-security h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.security-info {
    display: flex;
    background-color: #f5f9ff;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.security-icon {
    flex-shrink: 0;
    margin-right: 20px;
}

.security-content p {
    margin-bottom: 15px;
}

.security-content ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.security-content ul li {
    padding: 5px 0 5px 25px;
    position: relative;
    font-size: 14px;
    color: #555;
}

.security-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

/* Login Sidebar */
.login-sidebar .promo-banner {
    margin-bottom: 30px;
}

.latest-winners {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.latest-winners h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.winner-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.winner-item:last-child {
    border-bottom: none;
}

.winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    flex-grow: 1;
}

.winner-name {
    display: block;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 14px;
}

.winner-game {
    display: block;
    font-size: 12px;
    color: #888;
}

.winner-amount {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

.winner-time {
    font-size: 12px;
    color: #aaa;
}

.download-apps {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.download-apps h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.download-apps p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.app-store-button img {
    height: 48px;
    width: auto;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .registration-wrapper,
    .login-wrapper {
        grid-template-columns: 1fr;
    }
    
    .alternative-options {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .registration-form,
    .login-form {
        padding: 20px;
    }
    
    .security-info {
        flex-direction: column;
    }
    
    .security-icon {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .help-section ul {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-checkbox label {
        font-size: 13px;
    }
}