/* ========== GMAIL AUTH PAGE STYLES ========== */
/* Dark industrial theme for Gmail OAuth configuration */

/* ========== PAGE CONTAINER ========== */
.gmail-auth-page {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gmail-auth-page .mud-input-slot,
    .gmail-auth-page input,
    .gmail-auth-page button {
        min-height: 44px !important;
    }
}

.gmail-auth-page .page-header {
    margin-bottom: 30px;
}

/* ========== TYPOGRAPHY ========== */
.text-teal {
    color: #00bcd4 !important;
}

.text-white-primary {
    color: rgba(255, 255, 255, 0.9);
}

.text-muted-custom {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ========== CUSTOM CARD ========== */
.card-custom {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 188, 212, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.card-header-custom {
    background: transparent;
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
    padding: 16px 20px;
}

.card-body-custom {
    padding: 20px;
}

/* ========== STATUS INFO ========== */
.status-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    min-width: 150px;
}

.status-value {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== INSTRUCTION LIST ========== */
.instruction-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bcd4;
    font-weight: 500;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* ========== FORM STYLING ========== */
.form-label-custom {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

/* ========== CUSTOM INPUT ========== */
.custom-input {
    background: rgba(0, 188, 212, 0.05) !important;
    border: 1px solid rgba(0, 188, 212, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.custom-input:hover {
    border-color: rgba(0, 188, 212, 0.3) !important;
    background: rgba(0, 188, 212, 0.08) !important;
}

.custom-input:focus {
    border-color: #00bcd4 !important;
    background: rgba(0, 188, 212, 0.1) !important;
    box-shadow: none !important;
}

.custom-input:disabled {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ========== BUTTON STYLING ========== */
.btn-custom-primary {
    background: transparent;
    border: 1px solid #00bcd4;
    color: #00bcd4;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom-primary:hover:not(:disabled) {
    background: rgba(0, 188, 212, 0.1);
    border-color: #00bcd4;
    color: #00bcd4;
}

.btn-custom-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-custom-success {
    background: transparent;
    border: 1px solid #4caf50;
    color: #4caf50;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom-success:hover:not(:disabled) {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
    color: #4caf50;
}

.btn-custom-success:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== SPINNER ========== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* ========== PROFESSIONAL ADMIN DENSITY ========== */
.gmail-auth-page {
    padding: 0.65rem;
    max-width: 920px;
}

.gmail-auth-page .page-header {
    margin-bottom: 0.75rem !important;
    padding: 0.8rem 1rem !important;
}

.gmail-auth-page .page-header h2 {
    font-size: 1.4rem;
}

.gmail-auth-page > .card-custom {
    margin-bottom: 0.75rem !important;
}

.gmail-auth-page .card-header-custom {
    padding: 0.6rem 0.9rem;
}

.gmail-auth-page .card-header-custom h5 {
    font-size: 1rem;
}

.gmail-auth-page .card-body-custom {
    padding: 0.8rem 0.9rem;
}

.gmail-auth-page .status-info {
    gap: 0.45rem;
}

.gmail-auth-page .instruction-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    margin-top: 0.65rem;
}

.gmail-auth-page .instruction-item {
    gap: 0.65rem;
}

.gmail-auth-page .step-number {
    width: 28px;
    height: 28px;
}

.gmail-auth-page .auth-form .mb-3,
.gmail-auth-page .auth-form .mb-4 {
    margin-bottom: 0.75rem !important;
}

@media (max-width: 640px) {
    .gmail-auth-page {
        padding: 0.15rem;
    }

    .gmail-auth-page .page-header,
    .gmail-auth-page .card-header-custom,
    .gmail-auth-page .card-body-custom {
        padding: 0.7rem !important;
    }

    .gmail-auth-page .status-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .gmail-auth-page .status-label {
        min-width: 0;
    }

    .gmail-auth-page .instruction-list {
        grid-template-columns: 1fr;
    }

    .gmail-auth-page .btn-custom-primary,
    .gmail-auth-page .btn-custom-success {
        width: 100%;
        min-height: 44px;
    }

    .gmail-auth-page .e-input-group {
        min-height: 44px;
    }
}
