*, ::before, ::after {
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .main-container {
        width: 95%;
        padding: 10px;
    }

    .line2 {
        gap: 0.5rem;
    }

    .album {
        width: 150px;
    }

    .container22 {
        top: 60px;
        right: 10px;
    }
}


@media (max-width: 1024px) {
    .main-container {
        width: 95%;
        padding: 15px;
    }
}
@media (max-width: 768px) {
    width: 95%;
    padding: 15px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 30px;
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 20%, #1b2a4a 0%, #0d1326 60%, #060912 100%);
    color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
    color: #838383;
}

a:hover {
    text-decoration: underline;
}

.form {
    width: 400px;
    background: #3c3cb1;
    border-radius: 30px;
    padding: 30px 30px 0 50px;
    display: grid;
    gap: 25px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}


.form {
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* 🔵🟣 هاله بزرگ و نرم با حرکت موجی */
.form::before {
    content: "";
    position: absolute;
    inset: -40px; /* هاله بزرگ‌تر */
    border-radius: 45px;
    background: radial-gradient(circle at 20% 20%,
    rgba(150, 60, 255, 0.9),
    rgba(0, 150, 255, 0.7),
    rgba(113, 12, 193, 0.3)
    );
    filter: blur(40px);
    animation: haloMove 7s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}



/* موج‌دار شدن هاله */
@keyframes haloMove {
    0%   { background-position: 20% 20%; opacity: 0.6;   }
    25%  { background-position: 80% 20%; opacity: 0.3; }
    50%  { background-position: 80% 80%; opacity: .8;   }
    75%  { background-position: 20% 80%; opacity: 0.3; }
    100% { background-position: 20% 20%; opacity: 0.6;   }
}

/* چرخش حلقه */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}















.box {
    width: 100%;
    height: 70px;
    background: #cdcddc;
    color: #14369e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    border-radius: 20px;
}

.label-input {
    display: grid;
    gap: 8px;
    font-size: 18px;
}

.label-input input {
    width: 100%;
    height: 45px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #cfcfcf;
    background: #ffffff;
    font-size: 16px;
    transition: 0.2s;
    outline: none;
}

.label-input input:focus {
    border-color: #6a9dfc;
    box-shadow: 0 0 0 3px rgba(90, 150, 255, 0.4);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    opacity: 0.6;
}

.input-wrapper input {
    padding-left: 36px;
}


.btn-hover {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;

    height: 52px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 14px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;

}

.btn-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    scale: 1.04;
}

.btn-hover:focus {
    outline: none;
}

.btn-hover.color-7 {
    background-image: linear-gradient(to right, #6253e1, #80228e, #2ea5d1, #0c1fff);

}


.form {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aa {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.line {
    height: 550px;
    width: 2px;
    background: #ffffff;
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
@media (max-width: 768px) {

}
.header {
    z-index: 1000;
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 3rem;
    display: flex;
    align-items: center;
    padding: 40px 30px;
    margin: 40px auto;
    text-align: center;
justify-content: space-between;
}
.home{
    border: none;
    background-color: transparent;
    margin-right: 5rem;
    transition: 0.3s;
}
input:focus {
    scale: 1.04;
}
.home:hover{
    scale: 1.1;
}

#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 255, 120, 0.2);
    border: 1px solid #1aff7a;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 18px;
    color: #1aff7a;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}

#toast.show {
    opacity: 1;
    bottom: 60px;
}
