/* Common variables and base layout for admin frontend */

:root {
    --white: #fff;
    --muted: #3c4043;
    --text: #111;
    --radius: 14px;
    --shadow: 0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.18);
    --header-bg: #2c3e50;
    --footer-bg: #e67e22;
    --available-bg: #e8f5e9;
    --booked-bg: #ffebee;
    --available-border: #4caf50;
    --booked-border: #f44336;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
}

/* Base app layout container */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #bfe6ff 0%, #f3f7fb 35%, #ffe2cf 70%, #ffb07a 100%);
}

/* Header (can be overridden by page-specific styles) */
.app-header {
    height: 56px;
    background: var(--header-bg);
    color: var(--white);
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
}

.app-header .title {
    text-align: center;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 18px;
}

/* Icon button used in headers */
.icon-btn {
    background: transparent;
    color: var(--white);
    border: 0;
    width: 56px;
    height: 56px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content area */
.content {
    flex: 1;
    padding: 16px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Footer */
.app-footer {
    background: var(--footer-bg);
    color: var(--white);
    text-align: center;
    padding: 12px 16px;
}

.app-footer p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

