﻿
body {
    background-image: url('/img/999.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    direction: rtl;
}

#contenir {
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    width: 150%;
    max-width: 900px;
    margin: auto; /* توسيط العنصر */
}


#togglPass {
    position: absolute;
    top: 70%;
    left: 15px;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 22px;
    cursor: pointer;
}

.login-links a {
    display: inline-block;
    margin: 5px 10px;
    color: #81c784;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

    .login-links a:hover {
        text-decoration: underline;
    }
/**/

h3, h2 {
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.form-group label {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.form-control {
    border: none;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    height: 50px; /* ارتفاع أكبر */
    padding: 0 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.position-relative {
    position: relative;
}

#password {
    padding-right: 50px; /* مساحة للأيقونة */
}


#btn {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    color: white;
    border: none;
    padding: 15px 30px; /* زر أكبر */
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    #btn:hover {
        background: linear-gradient(45deg, #1e7e34, #28a745);
    }

.animated-image {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
       
    background-image: url('/img/9999.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

    #contenir {
        padding: 50px;
        margin:20px;
        width: 250%;
        max-width: 300px;
    }

    h2, h3 {
        font-size: 20px;
        text-align: center;
    }

    .form-control {
        font-size: 14px;
        height: 45px;
    }

    #btn {
        font-size: 16px;
        padding: 12px;
    }

    .login-links a {
        font-size: 13px;
    }
}

