body {
    font-family: IRANSansX, sans-serif !important;
    direction: rtl;
    background: url('img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-signup {
    background: rgba(25, 20, 35, 0.90);
    border-radius: 25px;
    box-shadow: 0 0 30px 8px rgba(138, 43, 255, 0.26);
    backdrop-filter: blur(10px);
    padding: 40px 25px 30px 25px;
    width: 100%;
    max-width: 410px;
    margin: 30px auto;
    position: relative;
}

.logo img {
    width: 90px;
    border-radius: 50%;
    box-shadow: 0 0 15px #8a2bff99;
    margin-bottom: 18px;
}

.card-signup h2 {
    font-size: 1.45rem;
    font-weight: bold;
    color: #ffe46a;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 0 8px #8a2bff55;
}

.form-label {
    color: #cfcfcf;
    font-size: 0.97rem;
    margin-bottom: 6px;
}

.form-control {
    background: rgba(255, 255, 255, 0.09);
    border: 1.5px solid #6a1fff;
    color: #fff;
    border-radius: 12px;
    font-family: inherit;
    padding: 12px;
}

.form-control:focus {
    border-color: #8a2bff;
    box-shadow: 0 0 8px #8a2bff99;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

::placeholder {
    color: #ccc !important;
}

.btn-signup {
    background: linear-gradient(90deg, #5e17eb 15%, #8a2bff 90%);
    color: #fff;
    font-weight: bold;
    border-radius: 11px;
    font-size: 1.08rem;
    border: none;
    transition: 0.3s;
    box-shadow: 0 0 16px #5e17eb44;
    padding: 11px;
    margin-top: 8px;
}

.btn-signup:hover {
    background: linear-gradient(90deg, #8a2bff 15%, #5e17eb 90%);
    color: #fff;
    box-shadow: 0 0 18px #8a2bff99;
    transform: translateY(-2px);
}

.alert-danger {
    background: rgba(255, 0, 0, 0.18);
    color: #ff4b4b;
    border-radius: 10px;
    border: none;
    padding: 10px 16px;
    margin-bottom: 15px;
    font-size: 0.96rem;
}

.footer-link {
    margin-top: 16px;
    text-align: center;
}

.footer-link a {
    color: #8a2bff;
    text-decoration: none;
    font-size: 0.96rem;
    transition: 0.2s;
}

.footer-link a:hover {
    text-shadow: 0 0 7px #8a2bff99;
    color: #ffe46a;
}