/* loyer1.css - Style spécifique à la page Loyer */
.loyer-section {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15,157,88,0.08);
  padding: 2.5rem 2rem;
}
.loyer-section h1 {
  color: #0f9d58;
  margin-bottom: 1.5rem;
}
.loyer-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.loyer-form input,
.loyer-form textarea {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  background: #f7f7f7;
}
.loyer-form input:focus,
.loyer-form textarea:focus {
  border-color: #0f9d58;
  outline: none;
  box-shadow: 0 0 0 2px #b6f2d6;
}
.btn-green {
  background: #0f9d58;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-green:hover {
  background: #13b86a;
}
.form-feedback {
  margin-top: 0.5rem;
  min-height: 1.2em;
  font-size: 1rem;
  color: #0f9d58;
  font-weight: 500;
  transition: color 0.2s;
}
.form-feedback.error {
  color: #d32f2f;
  animation: shake 0.3s;
}
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
.annonces-container {
  margin-top: 2.5rem;
}
#annonces-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}
.annonce-card {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 1px 4px rgba(15,157,88,0.06);
  border-left: 4px solid #0f9d58;
}
.annonce-card h3 {
  margin: 0 0 0.3rem 0;
  color: #0f9d58;
}
.annonce-card .annonce-meta {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.annonce-card .annonce-desc {
  color: #222;
}
@media (max-width: 700px) {
  .loyer-section {
    padding: 1.2rem 0.5rem;
  }
}
body {
    background-color: #f0fdf4;
}
.container {
    max-width: 800px;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #d1fae5;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #34d399;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.perfect-match {
    border: 3px solid #f97316;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 15px 5px rgba(249, 115, 22, 0.5);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
.notification-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #22c55e;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInOut 5s forwards;
    z-index: 100;
}
@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #d1fae5;
    padding: 1rem;
    text-align: center;
    z-index: 50;
}