/* DSH Admin Setup Styles */

.dsh-admin-setup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dsh-dark);
    max-width: 1000px;
    /* Wider for dashboard style */
    margin: 0 auto;
    padding: 24px 16px 120px 16px;
}

.dsh-admin-setup * {
    box-sizing: border-box;
}

/* Header */
.dsh-setup-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

/* Header Save Button: Desktop Only */
.dsh-setup-header .dsh-setup-save-btn {
    display: none;
}

@media(min-width: 1024px) {
    .dsh-setup-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .dsh-setup-header .dsh-setup-save-btn {
        display: flex;
    }
}

.dsh-setup-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--dsh-primary);
    display: block;
    margin-bottom: 8px;
}

.dsh-setup-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dsh-dark);
    margin: 0;
}

.dsh-setup-save-btn {
    background: var(--dsh-bg-light);
    color: var(--dsh-primary);
    border: 1px solid var(--dsh-border);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.dsh-setup-save-btn:hover {
    background: var(--dsh-primary);
    color: white;
    border-color: var(--dsh-primary);
    box-shadow: 0 8px 20px rgba(193, 40, 49, 0.25);
}

.dsh-setup-save-btn:active {
    transform: scale(0.96);
}

/* Footer Save Button: Mobile Only */
.dsh-setup-footer {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 0 40px 0;
}

.dsh-setup-footer .dsh-setup-save-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    justify-content: center;
}

@media(min-width: 1024px) {
    .dsh-setup-footer {
        display: none;
    }
}


/* Main Grid Layout */
.dsh-setup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media(min-width: 1024px) {
    .dsh-setup-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Cards Area */
.dsh-setup-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 768px) {
    .dsh-setup-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.dsh-setup-card {
    background: var(--dsh-bg-light);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid var(--dsh-border);
}

.dsh-setup-card.full-width {
    grid-column: 1 / -1;
}

.dsh-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsh-card-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dsh-primary);
}

.dsh-card-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dsh-text-light);
}

.dsh-card-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.dsh-input-wrapper {
    position: relative;
}

.dsh-input-wrapper input,
.dsh-input-wrapper select {
    width: 100%;
    background: white;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dsh-primary);
    outline: none;
    transition: all 0.2s;
    appearance: none;
    font-family: inherit;
}

.dsh-input-wrapper input:focus,
.dsh-input-wrapper select:focus {
    border-color: var(--dsh-primary);
    box-shadow: 0 0 0 4px rgba(193, 40, 49, 0.1);
}

.dsh-input-wrapper select {
    color: var(--dsh-dark);
}

/* Time inputs layout */
.dsh-time-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 640px) {
    .dsh-time-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dsh-time-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dsh-text-light);
    margin-bottom: 8px;
    padding-left: 4px;
}

.dsh-time-group input {
    color: var(--dsh-dark);
    font-size: 16px;
}

/* Right Section - Status & Action */
.dsh-status-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dsh-status-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.dsh-live-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(107, 254, 156, 0.2);
    color: #00743a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dsh-live-dot {
    width: 6px;
    height: 6px;
    background: #006d37;
    border-radius: 50%;
}

.dsh-status-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.dsh-status-card p {
    font-size: 13px;
    color: var(--dsh-text-light);
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.dsh-btn-block {
    width: 100%;
    background: #e8434c;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(232, 67, 76, 0.2);
    transition: all 0.2s;
    margin-bottom: 12px;
    text-decoration: none;
}

.dsh-btn-block:hover {
    background: #d1323a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(232, 67, 76, 0.3);
}

.dsh-btn-block:active {
    transform: scale(0.96);
}

.dsh-btn-hint {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #e8434c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin: 0;
}