/* ==========================================================================
   GAS Common Components
   ========================================================================== */

/* Layout values
   ========================================================================== */

#gas-default-padding-value {
    padding-top: var(--gas-space-3xl);
    padding-bottom: var(--gas-space-2xl);
}

/* Utility Classes
   ========================================================================== */

.gas-no-items {
    text-align: center;
    padding: var(--gas-space-3xl) var(--gas-space-l);
    background: var(--gas-bg-surface-alt);
    border-radius: var(--gas-card-radius);
    margin: var(--gas-space-2xl) 0;
}

.gas-no-items__icon {
    font-size: 4rem;
    margin-bottom: var(--gas-space-l);
    opacity: 0.7;
}

.gas-no-items__title {
    color: var(--gas-text-color);
    margin-bottom: var(--gas-space-m);
    font-size: var(--gas-text-xl);
}

.gas-no-items__description {
    color: var(--gas-text-color-light);
    margin-bottom: var(--gas-space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gas-button {
    display: inline-block;
    padding: var(--gas-button-padding-y) var(--gas-button-padding-x);
    background: var(--gas-button-primary-bg);
    color: var(--gas-button-primary-color);
    text-decoration: none;
    border-radius: var(--gas-button-radius);
    font-weight: var(--gas-button-font-weight);
    font-size: var(--gas-button-font-size);
    transition: background var(--gas-button-transition), transform var(--gas-button-transition);
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.gas-button:hover {
    background: var(--gas-button-primary-bg-hover);
    color: var(--gas-button-primary-color);
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.gas-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--gas-primary-h) var(--gas-primary-s) var(--gas-primary-l) / 0.3);
}

.gas-button--secondary {
    background: var(--gas-button-secondary-bg);
    color: var(--gas-button-secondary-color);
    border: var(--gas-border-width) solid var(--gas-button-secondary-border);
}

.gas-button--secondary:hover {
    background: var(--gas-neutral-300);
    color: var(--gas-button-secondary-color);
    border-color: var(--gas-button-secondary-border);
}

.gas-button--success {
    background: var(--gas-button-success-bg);
    color: var(--gas-button-success-color);
    border: none;
}

.gas-button--success:hover {
    background: var(--gas-success-dark);
    color: var(--gas-button-success-color);
    border: none;
}

.gas-button--warning {
    background: var(--gas-warning);
    color: var(--gas-white);
    border: none;
}

.gas-button--warning:hover {
    background: var(--gas-warning-dark);
    color: var(--gas-white);
    border: none;
}

.gas-button--danger {
    background: var(--gas-button-danger-bg);
    color: var(--gas-button-danger-color);
    border: none;
}

.gas-button--danger:hover {
    background: var(--gas-danger-dark);
    color: var(--gas-button-danger-color);
    border: none;
}

.gas-button--info {
    background: var(--gas-info);
    color: var(--gas-white);
    border: none;
}

.gas-button--info:hover {
    background: var(--gas-info-hover);
    color: var(--gas-white);
    border: none;
}

/* ==========================================================================
   Inline Login Form
   ========================================================================== */

.gas-inline-login-form {
    background: var(--gas-bg-surface);
    border-radius: var(--gas-radius-l);
    padding: var(--gas-space-2xl);
    box-shadow: var(--gas-shadow-m);
    max-width: 450px;
    margin: var(--gas-space-3xl) auto;
}

.gas-inline-login-form .login-form-title {
    margin: 0 0 var(--gas-space-s) 0;
    font-size: var(--gas-text-xl);
    font-weight: var(--gas-weight-bold);
    color: var(--gas-neutral-900);
    text-align: center;
}

.gas-inline-login-form .login-form-subtitle {
    margin: 0 0 var(--gas-space-l) 0;
    font-size: var(--gas-text-s);
    color: var(--gas-text-color-light);
    text-align: center;
    line-height: var(--gas-leading-normal);
}

.gas-inline-login-form .login-error-message {
    display: flex;
    align-items: center;
    gap: var(--gas-space-s);
    background: var(--gas-danger-light);
    border: var(--gas-border-width) solid var(--gas-danger-border);
    border-radius: var(--gas-radius-m);
    padding: var(--gas-space-s) var(--gas-space-m);
    margin-bottom: var(--gas-space-l);
    color: var(--gas-danger-dark);
    font-size: var(--gas-text-s);
    font-weight: var(--gas-weight-medium);
}

.gas-inline-login-form .login-error-message .error-icon {
    font-size: var(--gas-text-l);
    flex-shrink: 0;
}

.gas-inline-login-form .gas-login-form {
    display: flex;
    flex-direction: column;
    gap: var(--gas-space-m);
}

.gas-inline-login-form .form-field {
    display: flex;
    flex-direction: column;
    gap: var(--gas-space-xs);
}

.gas-inline-login-form .form-field label {
    display: flex;
    align-items: center;
    gap: var(--gas-space-xs);
    font-weight: var(--gas-label-font-weight);
    color: var(--gas-label-color);
    font-size: var(--gas-label-font-size);
}

.gas-inline-login-form .field-icon {
    font-size: var(--gas-text-m);
}

.gas-inline-login-form .form-input {
    width: 100%;
    padding: var(--gas-input-padding);
    border: var(--gas-border-width) solid var(--gas-input-border);
    border-radius: var(--gas-input-radius);
    font-size: var(--gas-input-font-size);
    font-family: var(--gas-font-family);
    color: var(--gas-input-color);
    background-color: var(--gas-input-bg);
    transition: border-color var(--gas-transition-normal), box-shadow var(--gas-transition-normal);
    box-sizing: border-box;
}

.gas-inline-login-form .form-input:focus {
    outline: none;
    border-color: var(--gas-input-focus-border);
    box-shadow: var(--gas-input-focus-shadow);
}

.gas-inline-login-form .form-checkbox {
    flex-direction: row;
    align-items: center;
}

.gas-inline-login-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--gas-space-s);
    font-weight: var(--gas-weight-normal);
    font-size: var(--gas-text-s);
    color: var(--gas-text-color);
    cursor: pointer;
    user-select: none;
}

.gas-inline-login-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--gas-primary);
}

.gas-inline-login-form .btn-login-submit {
    width: 100%;
    padding: var(--gas-button-padding-y) var(--gas-button-padding-x);
    background: var(--gas-button-primary-bg);
    color: var(--gas-button-primary-color);
    border: none;
    border-radius: var(--gas-button-radius);
    font-size: var(--gas-text-m);
    font-weight: var(--gas-weight-semi);
    font-family: var(--gas-font-family);
    cursor: pointer;
    transition: background var(--gas-button-transition), transform var(--gas-button-transition);
    margin-top: var(--gas-space-xs);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gas-space-xs);
}

.gas-inline-login-form .btn-login-submit:hover {
    background: var(--gas-button-primary-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--gas-shadow-m);
}

.gas-inline-login-form .form-links {
    display: flex;
    justify-content: center;
    gap: var(--gas-space-l);
    margin-top: var(--gas-space-xs);
    flex-wrap: wrap;
}

.gas-inline-login-form .link-secondary {
    color: var(--gas-text-color-light);
    text-decoration: none;
    font-size: var(--gas-text-s);
    transition: color var(--gas-transition-normal);
}

.gas-inline-login-form .link-secondary:hover {
    color: var(--gas-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gas-inline-login-form {
        padding: var(--gas-space-l);
        margin: var(--gas-space-xl) auto;
    }

    .gas-inline-login-form .form-links {
        flex-direction: column;
        gap: var(--gas-space-s);
        align-items: center;
    }
}