/* Responsive styles for UI kit components */

/* Button styles */
.sb-button {
  padding: 10px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: fit-content;
  width: auto;
}

.sb-button:hover {
  background-color: #e9ecef;
}

.sb-button:active {
  background-color: #dee2e6;
}

/* Responsive button styles */
@media (max-width: 768px) {
  .sb-button {
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .sb-button {
    padding: 6px 10px;
    font-size: 12px;
 }
}

/* Card styles */
.sb-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 16px 0;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive card styles */
@media (max-width: 768px) {
  .sb-card {
    padding: 12px;
    margin: 12px 0;
  }
}

@media (max-width: 480px) {
  .sb-card {
    padding: 8px;
    margin: 8px 0;
  }
}

/* Form field styles */
.sb-form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.sb-form-field label {
 margin-bottom: 4px;
  font-weight: bold;
  display: block;
}

.sb-form-field input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.sb-form-field input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Responsive form field styles */
@media (min-width: 769px) {
  .sb-form-field {
    flex-direction: row;
    align-items: center;
  }
  
  .sb-form-field label {
    margin-bottom: 0;
    margin-right: 12px;
    width: 20%;
    min-width: 120px;
    text-align: left;
  }
  
  .sb-form-field input {
    width: 80%;
    max-width: 400px;
 }
}

@media (max-width: 768px) {
  .sb-form-field input {
    padding: 8px 12px;
    font-size: 16px;
 }
}

@media (max-width: 480px) {
  .sb-form-field input {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .sb-form-field label {
    font-size: 14px;
 }
}

/* Responsive utilities */
.responsive-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Breakpoints */
/* Large screens (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .responsive-container {
    padding: 0 32px;
  }
}

/* Medium screens (tablets, 768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .responsive-container {
    padding: 0 24px;
  }
}

/* Small screens (mobile devices, up to 767px) */
@media (max-width: 767px) {
  .responsive-container {
    padding: 0 12px;
 }
}

/* Extra small screens (very small mobile devices, up to 480px) */
@media (max-width: 480px) {
  .responsive-container {
    padding: 0 8px;
 }
}