/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
  margin-right: 10px;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}

.auth-links {
  margin-top: 20px;
}

/*
 *= require_tree .
 *= require_self
 */

.user-profile {
  text-align: center;
  margin: 2rem 0;
}

.text-muted {
  color: #6c757d;
}

/* Floating Action Button Styles */
#floating-post-btn {
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050 !important;
  background-color: #0d6efd !important;
  color: white !important;
}

#floating-post-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

#floating-post-btn:active {
  transform: scale(0.95);
}

/* Responsive adjustments for the FAB */
@media (max-width: 768px) {
  #floating-post-btn {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
  
  #floating-post-btn i {
    font-size: 1.2rem;
  }
}


