/* UI Components for Illuminating */

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* Base button styles */
.btn-base {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    border-radius: 10px;
}

/* Primary button */
.btn-primary-custom {
    padding: 12px 24px;
    gap: 9.62px;
    background: #D5FF2E;
    border: 1px solid #B9E11D;
    color: #000000;
}

.btn-primary-custom:hover {
    background: #C8F221;
    border-color: #A8D417;
    color: #000000;
    transform: translateY(-1px);
}

/* Secondary button */
.btn-secondary-custom {
    padding: 12px 24px;
    gap: 9.62px;
    background: transparent;
    border: 1px solid #DADADA;
    color: #000000;
}

.btn-secondary-custom:hover {
    background: #F8F9FA;
    border-color: #B9E11D;
    color: #000000;
}

/* Large button variants for sharing/detail actions */
.btn-primary-large {
    padding: 13px 19px;
    gap: 6px;
    background: #D5FF2E;
    border: 1px solid #B9E11D;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
}

.btn-primary-large:hover {
    background: #C8F221;
    border-color: #A8D417;
    color: #000000;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-secondary-large {
    padding: 13px 19px;
    gap: 6px;
    background: transparent;
    border: 1px solid #DADADA;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
}

.btn-secondary-large:hover {
    background: #F8F9FA;
    border-color: #B9E11D;
    color: #000000;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Button with icon */
.btn-with-icon {
    padding: 12px 16px;
    gap: 8px;
}

/* Close button */
.btn-close-custom {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #6D6D6D;
    border-radius: 4px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-close-custom:hover {
    background: #F8F9FA;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

/* Base card */
.card-base {
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 16px;
    overflow: hidden;
}

/* Card header */
.card-header-custom {
    padding: 14px 16px 15px;
    border-bottom: 1px solid #DADADA;
    background: #FAFBFB;
}

/* Card content */
.card-content-custom {
    padding: 16px;
}

/* Card with accent border */
.card-accent-primary {
    border-left: 4px solid #D5FF2E;
}

.card-accent-secondary {
    border-left: 4px solid #DADADA;
}

/* ==========================================================================
   FORM COMPONENTS
   ========================================================================== */

/* Input group */
.input-group-custom {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

/* Input with button */
.input-with-button {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

/* Form section wrapper */
.form-section-wrapper {
    padding: 16px;
    gap: 16px;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
    margin-bottom: 32px;
}

/* Form field wrapper */
.form-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0px;
    width: 100% !important;
}

/* Ensure inputs within form field wrappers go full width */
.form-field-wrapper input[type="text"],
.form-field-wrapper input[type="url"],
.form-field-wrapper input[type="email"],
.form-field-wrapper input[type="password"],
.form-field-wrapper select,
.form-field-wrapper textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   NAVIGATION COMPONENTS
   ========================================================================== */

/* Nav link with no decoration */
.nav-link-clean {
    text-decoration: none;
    color: inherit;
}

.nav-link-clean:hover {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   LIST COMPONENTS
   ========================================================================== */

/* Custom list styling */
.list-custom {
    padding-left: 18px;
    margin: 0;
}

.list-custom li {
    margin-bottom: 4px;
}

/* List without bullets */
.list-no-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* ==========================================================================
   SPACING UTILITIES
   ========================================================================== */

/* Gap utilities */
.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

/* Padding utilities */
.p-0 {
    padding: 0;
}

.p-16 {
    padding: 16px;
}

.p-20 {
    padding: 20px;
}

/* Margin utilities */
.m-0 {
    margin: 0;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ==========================================================================
   FLEXBOX UTILITIES
   ========================================================================== */

/* Flex containers */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

/* Flex alignment */
.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

/* Flex sizing */
.flex-1 {
    flex: 1;
}

.flex-grow {
    flex-grow: 1;
}

/* ==========================================================================
   DISPLAY UTILITIES
   ========================================================================== */

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

/* ==========================================================================
   WIDTH AND HEIGHT UTILITIES
   ========================================================================== */

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

/* ==========================================================================
   BACKGROUND UTILITIES
   ========================================================================== */

.bg-light {
    background: #FAFBFB;
}

.bg-white {
    background: #FFFFFF;
}

.bg-transparent {
    background: transparent;
}

/* ==========================================================================
   BORDER UTILITIES
   ========================================================================== */

.border {
    border: 1px solid #DADADA;
}

.border-none {
    border: none;
}

.rounded {
    border-radius: 10px;
}

.rounded-lg {
    border-radius: 16px;
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    
    .mobile-block {
        display: block;
    }
    
    .mobile-flex {
        display: flex;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
}