html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .btn:hover, .good-button:hover {
    transform: none;
    background: inherit;
    box-shadow: inherit;
    color: inherit;
  }

  .good-button:hover i {
    transform: none;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.good-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, rgb(0, 163, 232), #0095d9);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 163, 232, 0.25);
}

    .good-button:hover {
        background: linear-gradient(135deg, #0095d9, #007ab8);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 163, 232, 0.35);
        color: white;
    }

    .good-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 163, 232, 0.25);
    }

    .good-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .good-button i {
        transition: transform 0.3s ease;
    }

    .good-button:hover i {
        transform: translateX(3px);
    }

/* Custom Button Styles */
.btn-custom-danger {
    background-color: #dc3545 !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

    .btn-custom-danger:hover {
        background-color: #c82333 !important;
        transform: translateY(-1px);
        color: white !important;
        text-decoration: none !important;
    }

    .btn-custom-danger:focus,
    .btn-custom-danger:active {
        background-color: #c82333 !important;
        color: white !important;
        box-shadow: none !important;
    }