
* {
  font-family: "Cairo", sans-serif;
}

body {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  min-height: 100vh;
  direction: rtl;
}

/* Header Styles */
.navbar {
  padding: 0rem 0;
}

.my-logo {
    margin-left: auto !important;
}

.btn-login {
    background-color: #1E46B6;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #365a9e;
    color: white;
}


.btn-register {
    background-color: white;
    color: #1E46B6;
    border: 1px solid #1E46B6;
}

.btn-register:hover {
    background-color: #c1d7f5d7;
}

.btn-search {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #666;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: #f8f9fa;
  border-color: #4472c4;
  color: #4472c4;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
}

/* Action Buttons */
.action-buttons .btn {
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  min-width: 140px;
}

.action-buttons .btn-primary {
  background-color: #1E46B6;
  border-color: #1E46B6;
}

.action-buttons .btn-outline-secondary {
  color: #666;
  border-color: #ddd;
  background-color: #f8f9fa;
}

.action-buttons .btn-outline-secondary:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}

/* Login Form Container */
.login-form-container {
  background: #d2daf0a6;
  padding: 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(68, 114, 196, 0.1);
}

.login-form-container h2 {
  color: #333;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Form Styles */
.input-group {
  direction: rtl;
}

.input-group .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  background-color: white;
  border-left: none;
}

.input-group .form-control:focus {
  border-color: #1E46B6;
  box-shadow: 0 0 0 0.2rem rgba(68, 114, 196, 0.25);
}

.input-group-text {
  background-color: white;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 0 8px 8px 0;
  color: #666;
}

.forgot-password {
  color: #1E46B6;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  color: #365a9e;
  text-decoration: underline;
}

.form-check-label {
  font-size: 14px;
  color: #666;
}

.btn-login-form {
  background-color: #1E46B6;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-login-form:hover {
  background-color: #365a9e;
}

/* Phone Code Styling */
.phone-code {
  background-color: white;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 0 8px 8px 0;
  color: #666;
  min-width: 80px;
  justify-content: center;
}

.flag-icon {
  width: 16px;
  height: auto;
  border-radius: 2px;
}

/* Seller Account Link */
.seller-account-link {
  color: #1E46B6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.seller-account-link:hover {
  color: #365a9e;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 2rem 0;
  }

  .login-form-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .action-buttons .btn {
    min-width: 120px;
    margin-bottom: 0.5rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .chat-button {
    bottom: 1rem;
    left: 1rem;
  }

  .btn-chat {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
    
    .navbar-nav {
        display: none !important;
    }

  
    .action-buttons {
        
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%; 
        margin-bottom: 2rem;
    }

    .navbar .action-buttons {
        display: none !important;
    }
    .action-buttons .btn {
        width: 100%; 
        margin-bottom: 0.5rem;
    }
}
