/*/static/css/core.css*/
@charset "UTF-8";

/* ===============================
   全画面共通：色変数・body
=============================== */
:root {
    --bg: #f4f4f6;
    --panel: #ffffff;
    --fg: #111;
    --border: #c8c8c8;
	--img-bg:#808080;

    --accent: #3b82f6;
    --accent-light: #e8f0ff;
    --danger: #e54848;
    --warning: #f0ad4e;
	--bs-heading-color: navy;
	
	--bs-heading-title-lightcolor:  #fdfbe9;;
	--bs-heading-title-normalcolor: rgb(246, 240, 183);
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--fg);

    /* Footer を最下部に固定するための Flex レイアウト */
    display: flex;
    flex-direction: column;
}

.app-main {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.app-content {
	height: 100%;
	min-height: 0;
}

body.popup-mode .app-main {
	height: 100dvh;
}

.app-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(255, 255, 255, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-loading-box {
	min-width: 180px;
	padding: 18px 24px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	text-align: center;
}

.app-loading-message {
	margin-top: 10px;
	font-size: 0.9rem;
	color: #555;
}
