/* === Fonts & Body Reset === */
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('https://conj.ksau-hs.edu.sa/images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    direction: rtl;
}

/* === Container === */
.container {
    direction: ltr;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding: 2rem; /* default for mobile */
}

/* Larger screens (tablets, laptops, desktops) */
@media (min-width: 768px) {
    .container {
        padding: 10rem;
    }
}


/* === Login Card === */
.login-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem 2.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-content img {
    display: block;
    margin: 0 auto 1.5rem;
}

.title {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* === Input Groups === */
.input-div {
    margin-bottom: 1.2rem;
}

.label-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.inputs1 {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #aaa;
    background-color: transparent;
}

.inputs1:focus {
    outline: none;
    border-color: #135635;
}
/* === Captcha Wrapper === */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -30px;
}

.captcha-image {
    height: 30px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.refresh-captcha {
    margin-right: 40px;
    margin-top: -20px;
    margin-left: -40px;
    font-size: 40px;
    cursor: pointer;
    color: #166a45;
    transition: transform 0.3s ease;
}

.refresh-captcha:hover {
    transform: rotate(90deg);
}



/* === Button === */
.btn {
    width: 100%;
    padding: 12px;
    background-color: #1B8354;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #166a45;
}
