/*====================================================
  StreamPlus Payment Page
  style.css
  Part 2A
======================================================*/


/*=========================
        CSS VARIABLES
=========================*/

:root{

    --primary:#E50914;
    --primary-dark:#B20710;

    --text:#111111;
    --text-light:#6b7280;

    --border:#d5d5d5;
    --background:#ffffff;
    --section:#f5f5f7;

    --blue:#4d90fe;
    --blue-light:#e8f1ff;

    --shadow:
        0 10px 35px rgba(0,0,0,.08);

    --radius:8px;

    --transition:.30s ease;

    --container:1100px;

}


/*=========================
        RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    font-size:16px;
    scroll-behavior:smooth;

}

body{

    font-family:'Roboto',sans-serif;

    background:#fff;

    color:var(--text);

    line-height:1.5;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

button,
input,
select{

    font-family:inherit;

}

button{

    cursor:pointer;

}


/*=========================
        CONTAINER
=========================*/

.container{

    width:100%;

    max-width:var(--container);

    margin:auto;

    padding-left:24px;

    padding-right:24px;

}


/*=========================
          HEADER
=========================*/

.header{

    width:100%;

    height:92px;

    background:#fff;

    border-bottom:1px solid #ececec;

    display:flex;

    align-items:center;

    position:sticky;

    top:0;

    z-index:99;

}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:3rem;

    font-weight:900;

    letter-spacing:1px;

    color:var(--primary);

}

.logo span{

    color:#222;

    font-weight:400;

}

.logout{

    color:#111;

    font-size:1rem;

    font-weight:500;

    transition:var(--transition);

}

.logout:hover{

    color:var(--primary);

}


/*=========================
        MAIN SECTION
=========================*/

.payment-section{

    padding-top:40px;

    padding-bottom:70px;

}

.payment-wrapper{

    max-width:540px;

    margin:auto;

}


/*=========================
         INFO BOX
=========================*/

.info-box{

    display:flex;

    align-items:flex-start;

    gap:18px;

    background:var(--blue);

    color:#fff;

    border-radius:6px;

    padding:18px 20px;

    margin-bottom:32px;

}

.info-icon{

    width:34px;

    height:34px;

    min-width:34px;

    border-radius:50%;

    background:#fff;

    color:#000;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:18px;

}

.info-text{

    font-size:1rem;

    line-height:1.6;

}


/*=========================
        BACK LINK
=========================*/

.back-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#0f62fe;

    font-size:15px;

    margin-bottom:24px;

    transition:.25s;

}

.back-link:hover{

    text-decoration:underline;

}


/*=========================
        STEP TEXT
=========================*/

.step{

    color:#555;

    font-size:14px;

    margin-bottom:8px;

    font-weight:500;

}


/*=========================
         TITLE
=========================*/

.payment-wrapper h1{

    font-size:2.3rem;

    line-height:1.2;

    font-weight:700;

    margin-bottom:28px;

}


/*=========================
        CARD BRANDS
=========================*/

.card-brands{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:24px;

}

.card-brands img{

    height:32px;

    width:auto;

    border:1px solid #ddd;

    border-radius:4px;

    background:#fff;

    padding:4px;

}


/*=========================
         FORM
=========================*/

form{

    width:100%;

}


/*=========================
       ROW LAYOUT
=========================*/

.row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:16px;

}


/*=========================
      DEFAULT PARAGRAPHS
=========================*/

p{

    color:#333;

}


/*=========================
     SMOOTH TRANSITIONS
=========================*/

a,
button,
input,
select{

    transition:var(--transition);

}
/*====================================================
            PART 2B
      FORM • BUTTON • FOOTER
======================================================*/


/*=========================
        INPUT GROUP
=========================*/

.input-group{

    position:relative;

    margin-bottom:20px;

}

.input-group input{

    width:100%;

    height:60px;

    padding:22px 16px 8px;

    font-size:16px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    outline:none;

    background:#fff;

    color:var(--text);

}

.input-group input:hover{

    border-color:#999;

}

.input-group input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(229,9,20,.12);

}

.input-group label{

    position:absolute;

    top:50%;

    left:16px;

    transform:translateY(-50%);

    color:#777;

    background:#fff;

    padding:0 4px;

    transition:all .25s ease;

    pointer-events:none;

    font-size:16px;

}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label{

    top:0;

    transform:translateY(-50%);

    font-size:12px;

    color:var(--primary);

}


/*=========================
       PLACEHOLDER
=========================*/

.input-group input::placeholder{

    color:transparent;

}


/*=========================
        PLAN CARD
=========================*/

.plan-card{

    margin:28px 0;

    border:1px solid #dddddd;

    border-radius:12px;

    overflow:hidden;

    background:#fff;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.offer{

    background:linear-gradient(90deg,#6d28d9,#9333ea);

    color:#fff;

    font-size:14px;

    font-weight:700;

    padding:10px 18px;

}

.plan-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

}

.plan-content h3{

    font-size:20px;

    margin-bottom:4px;

}

.plan-content p{

    font-size:15px;

    color:#222;

}

.plan-content span{

    display:block;

    margin-top:6px;

    color:#666;

    font-size:14px;

}

.plan-content a{

    color:var(--primary);

    font-weight:700;

}

.plan-content a:hover{

    text-decoration:underline;

}


/*=========================
        NOTE TEXT
=========================*/

.note{

    color:#666;

    font-size:14px;

    margin-bottom:16px;

    line-height:1.6;

}

.terms{

    color:#444;

    font-size:15px;

    line-height:1.8;

    margin-bottom:24px;

}


/*=========================
        CHECKBOX
=========================*/

.checkbox{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:28px;

}

.checkbox input{

    width:18px;

    height:18px;

    accent-color:var(--primary);

    margin-top:2px;

}

.checkbox label{

    font-size:15px;

    color:#333;

    line-height:1.6;

}


/*=========================
      SUBMIT BUTTON
=========================*/

.submit-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:var(--radius);

    background:var(--primary);

    color:#fff;

    font-size:18px;

    font-weight:700;

    transition:.3s;

    box-shadow:0 8px 20px rgba(229,9,20,.25);

}

.submit-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.submit-btn:active{

    transform:scale(.98);

}

.submit-btn:disabled{

    background:#bfbfbf;

    cursor:not-allowed;

    box-shadow:none;

}


/*=========================
        CAPTCHA
=========================*/

.captcha{

    text-align:center;

    margin-top:18px;

    font-size:13px;

    color:#777;

    line-height:1.5;

}


/*=========================
          FOOTER
=========================*/

footer{

    background:#f5f5f5;

    border-top:1px solid #ddd;

    padding:60px 0;

    margin-top:70px;

}

.footer-title{

    font-size:18px;

    margin-bottom:25px;

    color:#444;

}

.footer-links{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:14px;

    margin-bottom:35px;

}

.footer-links a{

    color:#666;

    font-size:14px;

}

.footer-links a:hover{

    color:var(--primary);

}

.language select{

    width:170px;

    height:48px;

    border:1px solid #ccc;

    border-radius:6px;

    padding:0 14px;

    background:#fff;

    font-size:15px;

    cursor:pointer;

}

.language select:focus{

    outline:none;

    border-color:var(--primary);

}


/*=========================
        SCROLLBAR
=========================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#c5c5c5;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#999;

}
/*====================================================
                PART 2C
      RESPONSIVE • ANIMATIONS • UTILITIES
======================================================*/


/*=========================
        ANIMATIONS
=========================*/

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(25px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;
        transform:scale(.96);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}

.payment-wrapper{

    animation:fadeIn .6s ease;

}

.plan-card{

    animation:zoomIn .5s ease;

}


/*=========================
        HOVER EFFECTS
=========================*/

.input-group input{

    transition:
        border-color .3s,
        box-shadow .3s,
        transform .25s;

}

.input-group input:hover{

    transform:translateY(-1px);

}

.card-brands img{

    transition:.3s;

}

.card-brands img:hover{

    transform:translateY(-3px);

    box-shadow:0 6px 16px rgba(0,0,0,.12);

}

.plan-card{

    transition:.35s;

}

.plan-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}


/*=========================
      FOCUS ACCESSIBILITY
=========================*/

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible{

    outline:3px solid rgba(229,9,20,.25);
    outline-offset:3px;

}


/*=========================
      DESKTOP (1200px+)
=========================*/

@media (min-width:1200px){

.container{

    max-width:1180px;

}

.payment-wrapper{

    max-width:560px;

}

.payment-wrapper h1{

    font-size:42px;

}

.logo{

    font-size:54px;

}

}


/*=========================
      LAPTOP
=========================*/

@media (max-width:992px){

.container{

    padding-left:20px;
    padding-right:20px;

}

.payment-wrapper{

    max-width:520px;

}

.logo{

    font-size:42px;

}

.payment-wrapper h1{

    font-size:36px;

}

}


/*=========================
         TABLET
=========================*/

@media (max-width:768px){

.header{

    height:76px;

}

.logo{

    font-size:34px;

}

.logout{

    font-size:15px;

}

.payment-section{

    padding-top:30px;
    padding-bottom:50px;

}

.payment-wrapper{

    max-width:100%;

}

.payment-wrapper h1{

    font-size:31px;

}

.row{

    grid-template-columns:1fr;

}

.plan-content{

    flex-direction:column;

    align-items:flex-start;

    gap:18px;

}

.footer-links{

    grid-template-columns:repeat(2,1fr);

}

}


/*=========================
      LARGE MOBILE
=========================*/

@media (max-width:576px){

.container{

    padding-left:18px;
    padding-right:18px;

}

.header{

    height:70px;

}

.logo{

    font-size:30px;

}

.logout{

    font-size:14px;

}

.payment-wrapper h1{

    font-size:28px;

}

.info-box{

    padding:16px;

}

.info-icon{

    width:30px;
    height:30px;
    min-width:30px;

}

.card-brands{

    flex-wrap:wrap;

}

.input-group input{

    height:56px;

}

.submit-btn{

    height:56px;

    font-size:17px;

}

.footer-links{

    grid-template-columns:1fr;

}

.language select{

    width:100%;

}

}


/*=========================
      SMALL MOBILE
=========================*/

@media (max-width:420px){

.logo{

    font-size:26px;

}

.payment-wrapper h1{

    font-size:25px;

}

.step{

    font-size:13px;

}

.info-text{

    font-size:14px;

}

.back-link{

    font-size:14px;

}

.offer{

    font-size:13px;

}

.plan-content h3{

    font-size:18px;

}

.plan-content p{

    font-size:14px;

}

.submit-btn{

    font-size:16px;

}

.footer{

    padding:40px 0;

}

}


/*=========================
     EXTRA SMALL
=========================*/

@media (max-width:340px){

.container{

    padding-left:14px;
    padding-right:14px;

}

.logo{

    font-size:22px;

}

.payment-wrapper h1{

    font-size:22px;

}

.info-box{

    flex-direction:column;

}

.checkbox{

    align-items:flex-start;

}

}


/*=========================
        UTILITIES
=========================*/

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:10px;

}

.mt-2{

    margin-top:20px;

}

.mt-3{

    margin-top:30px;

}

.mb-1{

    margin-bottom:10px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-3{

    margin-bottom:30px;

}

.hidden{

    display:none !important;

}

.visible{

    display:block !important;

}


/*=========================
       PRINT SUPPORT
=========================*/

@media print{

.header,
footer,
.submit-btn{

    display:none;

}

body{

    background:#fff;

}

.payment-wrapper{

    max-width:100%;

}

}


/*=========================
      REDUCED MOTION
=========================*/

@media (prefers-reduced-motion:reduce){

*{

    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;

}

}