/* classicro: FluxCP theme in the style of the 2009 Ragnarok Online client UI (Ragna2u-RO) */
:root {
	--ro-blue: #4a5f9a;      /* label blue of the RO login window */
	--ro-blue-dark: #2e3f72;
	--ro-line: #8fa4c8;      /* window border */
	--ro-line-soft: #c7d3e8;
	--ro-panel: #ffffff;
	--ro-panel-alt: #f3f6fb;
	--ro-text: #222;
	--ro-gold: #f7c948;
}
html {
	background: linear-gradient(rgba(214, 229, 246, .78), rgba(214, 229, 246, .78)), #b9cfe8 url(../img/ro/bgpattern.jpg) repeat;
	background-size: auto, 640px auto; min-height: 100%;
}
body.ro {
	margin: 0; color: var(--ro-text);
	font: 12px/1.55 Tahoma, Verdana, "Segoe UI", sans-serif;
	background: transparent; min-height: 100vh;
}
.ro a { color: var(--ro-blue-dark); }
.ro a:hover { color: #c0392b; }
#ro-wrap { max-width: 1080px; margin: 0 auto; padding: 16px 16px 24px; box-sizing: border-box; }

/* header: patcher banner + RO style button bar */
#ro-header { text-align: center; }
.ro-banner { display: inline-block; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 4px 14px rgba(20, 40, 90, .35); line-height: 0; overflow: hidden; max-width: 100%; }
.ro-banner img { width: 702px; max-width: 100%; height: auto; image-rendering: auto; }
.ro-topnav { margin: 12px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ro-topnav a, .ro-btn, .ro input[type=submit], .ro input[type=button], .ro button {
	display: inline-block; padding: 4px 14px; font: bold 12px Tahoma, sans-serif; color: #1d2a50; text-decoration: none;
	background: linear-gradient(#ffffff, #e9eef6 55%, #d3ddec); border: 1px solid #7d8fb5; border-radius: 4px;
	box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(30, 50, 100, .25); cursor: pointer;
}
.ro-topnav a:hover, .ro-btn:hover, .ro input[type=submit]:hover, .ro button:hover { background: linear-gradient(#fffef4, #fff3c4 55%, #f7dc7c); border-color: #b8913a; color: #4a3300; }
.ro-topnav a.ro-hot, .ro-btn-gold { background: linear-gradient(#fff8d8, #ffe27a 55%, #f2b92c); border-color: #b3801a; color: #4a2c00; }

/* the RO window: light-blue gradient title bar with the round icon, white body, thin blue border */
.ro-window { background: var(--ro-panel); border: 1px solid var(--ro-line); border-radius: 3px; box-shadow: 0 2px 8px rgba(30, 50, 100, .22); margin-bottom: 14px; overflow: hidden; }
.ro-title {
	height: 17px; line-height: 17px; padding: 0 8px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	background: url(../img/ro/titlebar_mid.png) repeat-x; background-size: auto 17px; border-bottom: 1px solid var(--ro-line);
	font: 12px Tahoma, sans-serif; color: #111;
}
.ro-title span::before { content: ""; display: inline-block; width: 13px; height: 13px; margin: 0 5px -2px 0; background: url(../img/ro/circle.png) no-repeat center / 13px 13px; }
.ro-body { padding: 12px 14px; }
.ro-page > .ro-title { height: 20px; line-height: 20px; background-size: auto 20px; font-weight: bold; }

#ro-main { display: flex; gap: 16px; margin-top: 16px; align-items: flex-start; }
#ro-side { flex: 0 0 200px; }
#ro-content { flex: 1 1 auto; min-width: 0; }

/* sidebar menus: item icons as bullets */
.ro-menu ul.ro-body { list-style: none; margin: 0; padding: 4px 0; }
.ro-menu li { background: no-repeat 8px center; background-size: 20px 20px; padding-left: 34px; border-bottom: 1px dotted var(--ro-line-soft); }
.ro-menu li:last-child { border-bottom: 0; }
.ro-menu li a { display: block; padding: 5px 8px 5px 0; text-decoration: none; color: #1d2a50; }
.ro-menu li:hover { background-color: #fff6d6; }
.ro-admin-menu li { background-image: none; padding-left: 12px; }

/* login box (FluxCP table with gif corners) */
#loginbox { background: #fffbe8; border: 1px solid #d9c07a; border-radius: 3px; margin-bottom: 14px; border-collapse: separate; }
#loginbox img { display: none !important; }
#loginbox td { background: transparent !important; padding: 2px 6px; }

/* content defaults from flux.css, re-skinned */
.ro h2 { font: bold 16px Tahoma, sans-serif; color: var(--ro-blue-dark); margin: 4px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ro-line-soft); }
.ro h3 { color: var(--ro-blue); font-size: 13px; }
.ro table.vertical-table, .ro table.horizontal-table, .ro .ro-table { border-collapse: collapse; width: 100%; background: #fff; }
.ro table.vertical-table th, .ro table.horizontal-table th, .ro .ro-table th {
	color: var(--ro-blue); font-weight: bold; text-align: left; background: var(--ro-panel-alt); border: 1px solid var(--ro-line-soft); padding: 5px 8px; white-space: nowrap;
}
.ro table.vertical-table td, .ro table.horizontal-table td, .ro .ro-table td { border: 1px solid var(--ro-line-soft); padding: 5px 8px; }
.ro table.horizontal-table tr:nth-child(even) td { background: #f8fafd; }
.ro input[type=text], .ro input[type=password], .ro input[type=email], .ro select, .ro textarea {
	font: 12px Tahoma, sans-serif; padding: 4px 6px; border: 1px solid #bbb; background: #f1f1f1; border-radius: 2px;
}
.ro input[type=text]:focus, .ro input[type=password]:focus { background: #fffdf0; border-color: #c9a646; outline: none; }
.ro p.message { background: #eef6ff; border: 1px solid var(--ro-line); padding: 8px 10px; border-radius: 3px; }
.ro p.notice, .ro p.red { color: #b03030; }
.ro p.green { color: #2c7a2c; }
.ro .pages a, .ro .pages strong { padding: 1px 5px; }

/* home page */
.ro-hero { position: relative; margin: -12px -14px 14px; padding: 26px 24px 22px; color: #fff;
	background: linear-gradient(90deg, rgba(18, 30, 70, .82), rgba(18, 30, 70, .45)), url(../img/ro/market.jpg) center 30% / cover; }
.ro-hero h2 { color: #fff; border: 0; font-size: 22px; margin: 0 0 8px; text-shadow: 0 2px 3px rgba(0, 0, 0, .6); }
.ro-hero p { max-width: 560px; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.ro-hero .ro-small { color: #dfe8ff; }
.ro-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.ro-btn-big { padding: 8px 18px; font-size: 13px; }
.ro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ro-grid .ro-card { margin-bottom: 0; }
.ro-card { box-shadow: none; }
.ro-on { color: #1f8a2e; font-weight: bold; }
.ro-on::before { content: "\25CF  "; }
.ro-off { color: #b0302a; font-weight: bold; }
.ro-off::before { content: "\25CF  "; }
.ro-steps ol { margin: 0; padding-left: 20px; }
.ro-steps li { margin: 4px 0; }
.ro-small { font-size: 11px; color: #555; }
.ro-grid + .ro-card { margin-top: 14px; }

#ro-footer { text-align: center; margin-top: 18px; color: #2e3f72; }
#ro-footer p { margin: 4px 0; }

@media (max-width: 760px) {
	#ro-main { flex-direction: column; }
	#ro-side { flex: none; width: 100%; order: 2; }
	.ro-grid { grid-template-columns: 1fr; }
	.ro-banner img { width: 100%; }
}
