/* Visitor Log Form Styles - New Design */

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f7fb;
    color: #333;
    direction: rtl;
    margin: 0;
    padding: 0;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.visitor-form {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    padding: 35px;
    position: relative;
}

.form-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #777;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    text-align: right;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    margin-right: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
    outline: none;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 42px;
    color: #999;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #1976D2;
}

.submit-btn i {
    font-size: 1.1rem;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive styles */
@media (max-width: 576px) {
    .visitor-form {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
    }
}
