/*
Theme Name: Roland Base Theme
Theme URI: https://example.com
Author: Roland Apps Studio
Author URI: https://example.com
Description: A lightweight Elementor-friendly WordPress theme built from scratch.
Version: 1.0.4
Text Domain: roland-base
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-main {
  width: 100%;
  min-height: 60vh;
}

.site-header,
.site-footer {
  padding: 20px;
}

.site-header-inner,
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.alignwide {
  max-width: 1200px;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Software welcome flow */
body.roland-welcome-page {
  overflow: hidden;
}

.rb-welcome-screen,
.rb-auth-screen,
.rb-location-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rb-welcome-screen {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #050816 0%, #101936 45%, #050816 100%);
  text-align: center;
}

.rb-welcome-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
}

.rb-welcome-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.rb-welcome-logo {
  margin-bottom: 24px;
}

.rb-welcome-logo img {
  max-height: 90px;
  width: auto;
}

.rb-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.rb-welcome-content h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.rb-welcome-text {
  margin: 22px auto 36px;
  max-width: 520px;
  font-size: clamp(16px, 2vw, 21px);
  opacity: 0.82;
}

.rb-enter-button,
.rb-primary-button,
.login-submit .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #050816;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rb-enter-button:hover,
.rb-primary-button:hover,
.login-submit .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.rb-auth-screen,
.rb-location-screen {
  background: #f4f6fb;
}

.rb-auth-card,
.rb-location-card {
  width: min(100%, 520px);
  padding: 36px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.10);
}

.rb-auth-card h1,
.rb-location-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.04em;
}

.rb-auth-card p,
.rb-location-card p {
  color: #5b6475;
}

.rb-auth-card form p {
  margin-bottom: 18px;
}

.rb-auth-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #111827;
}

.rb-auth-card input[type="text"],
.rb-auth-card input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d9deea;
  border-radius: 14px;
  font-size: 16px;
}

.rb-auth-card .login-remember label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
}

.login-submit .button,
.rb-primary-button {
  width: 100%;
  background: #050816;
  color: #fff;
}

.rb-location-form {
  margin-top: 24px;
}

.rb-location-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.rb-location-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d9deea;
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rb-location-option:hover,
.rb-location-option:has(input:checked) {
  border-color: #050816;
  background: #f8f9fc;
}

.rb-location-option span {
  font-weight: 700;
}

@media (max-width: 600px) {
  .rb-auth-card,
  .rb-location-card {
    padding: 26px;
    border-radius: 22px;
  }
}

/* Shared branded software background */
.rb-brand-bg {
  position: relative;
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #050816 0%, #101936 45%, #050816 100%);
  overflow: hidden;
}

.rb-brand-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.rb-auth-screen.rb-brand-bg,
.rb-location-screen.rb-brand-bg {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #050816 0%, #101936 45%, #050816 100%);
}

.rb-auth-card.rb-glass-card,
.rb-location-card.rb-glass-card {
  position: relative;
  z-index: 2;
  color: #111827;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 28px 90px rgba(0,0,0,0.28);
}

.rb-auth-brand {
  text-align: center;
  margin-bottom: 26px;
}

.rb-auth-brand .custom-logo {
  max-height: 76px;
  width: auto;
}

.rb-auth-brand-name {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.rb-login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #5b6475;
  font-size: 14px;
}

.rb-login-links a {
  color: #101936;
  font-weight: 700;
}

.rb-location-card {
  width: min(100%, 860px);
}

.rb-location-header {
  text-align: center;
  margin-bottom: 24px;
}

.rb-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.rb-location-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid #d9deea;
  border-radius: 22px;
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rb-location-option:hover {
  transform: translateY(-2px);
  border-color: #050816;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}

.rb-location-option input {
  position: absolute;
  opacity: 0;
}

.rb-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #f1f4fb;
  font-size: 22px;
}

.rb-location-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.rb-location-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.rb-location-option input:checked + .rb-location-icon,
.rb-location-option:has(input:checked) .rb-location-icon {
  background: #050816;
  color: #fff;
}

.rb-location-option:has(input:checked) {
  border-color: #050816;
  box-shadow: 0 18px 50px rgba(15,23,42,0.16);
}

.rb-user-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f6f7fb;
  color: #5b6475;
  margin-bottom: 10px;
}

.rb-user-strip strong {
  color: #111827;
}

.rb-logout-link {
  font-weight: 800;
  color: #101936;
}

@media (max-width: 640px) {
  .rb-auth-card,
  .rb-location-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .rb-location-grid {
    grid-template-columns: 1fr;
  }

  .rb-user-strip,
  .rb-login-links {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Elementor Welcome Landing Widget */
.rb-elementor-welcome {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.elementor-widget-roland_welcome_landing,
.elementor-widget-roland_welcome_landing .elementor-widget-container {
  width: 100%;
}

/* Full-screen Elementor software widgets: remove white space around widget output */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.rb-elementor-fullscreen {
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.rb-elementor-welcome,
.rb-elementor-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.elementor-widget-roland_welcome_landing,
.elementor-widget-roland_custom_login,
.elementor-widget-roland_welcome_landing .elementor-widget-container,
.elementor-widget-roland_custom_login .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-roland_welcome_landing.elementor-widget,
.elementor-widget-roland_custom_login.elementor-widget {
  margin-bottom: 0 !important;
}

/* When the widget is used on an Elementor page, this helps the canvas touch the browser edges. */
.elementor-page .site-main,
.elementor-page .site-content-wrapper,
.elementor-page article,
.elementor-page .entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
}

.rb-elementor-login .login-username,
.rb-elementor-login .login-password,
.rb-elementor-login .login-remember,
.rb-elementor-login .login-submit {
  margin: 0 0 16px;
}

.rb-elementor-login input[type="text"],
.rb-elementor-login input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d9deea;
  border-radius: 14px;
  font-size: 16px;
  box-shadow: none;
}

.rb-elementor-login label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #111827;
}

.rb-elementor-login .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.rb-elementor-login .button-primary {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: #050816;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}


/* Global software/fullscreen layout mode.
   When Appearance > Roland Theme Options disables the theme header/footer,
   also remove the default top/bottom spacing so Elementor widgets touch all browser edges. */
body.roland-no-theme-header-footer {
  margin: 0 !important;
  padding: 0 !important;
  background: #050816;
}

body.roland-no-theme-header-footer .site-main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  overflow-x: hidden;
}

body.roland-no-theme-header-footer .site-content-wrapper,
body.roland-no-theme-header-footer .entry-content,
body.roland-no-theme-header-footer article,
body.roland-no-theme-header-footer .page,
body.roland-no-theme-header-footer .post,
body.roland-no-theme-header-footer .hentry,
body.roland-no-theme-header-footer .elementor,
body.roland-no-theme-header-footer .elementor-inner,
body.roland-no-theme-header-footer .elementor-section-wrap,
body.roland-no-theme-header-footer .elementor-widget-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.roland-no-theme-header-footer .elementor-widget:not(:last-child),
body.roland-no-theme-header-footer .elementor-widget-roland_welcome_landing,
body.roland-no-theme-header-footer .elementor-widget-roland_custom_login {
  margin-bottom: 0 !important;
}

body.roland-no-theme-header-footer .elementor-section,
body.roland-no-theme-header-footer .elementor-container,
body.roland-no-theme-header-footer .e-con,
body.roland-no-theme-header-footer .e-con-inner {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.roland-no-theme-header-footer .rb-elementor-fullscreen {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

/* Elementor sometimes adds default page padding/gaps on containers.
   Keep Roland software widgets flush even inside those containers. */
body.roland-no-theme-header-footer .elementor-widget-roland_welcome_landing .elementor-widget-container,
body.roland-no-theme-header-footer .elementor-widget-roland_custom_login .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.rb-login-submit-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  background: #050816;
  color: #fff;
  font-weight: 800;
  margin-top: 10px;
}

.rb-elementor-fullscreen[style*="background-image"] {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Airbnb-style embossed grey button for Recurring Guest action */
button.gfrgc-check-button,
.button.gfrgc-check-button,
input[type="button"].gfrgc-check-button,
input[type="submit"].gfrgc-check-button,
a.gfrgc-check-button {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: linear-gradient(180deg, #f8f8f8 0%, #eeeeee 52%, #e2e2e2 100%) !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 16px !important;
    color: #222 !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    min-height: 50px !important;
    min-width: 220px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.9) !important;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.10),
        0 2px 5px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -2px 5px rgba(0,0,0,0.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

button.gfrgc-check-button:hover,
.button.gfrgc-check-button:hover,
input[type="button"].gfrgc-check-button:hover,
input[type="submit"].gfrgc-check-button:hover,
a.gfrgc-check-button:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 52%, #e5e5e5 100%) !important;
    color: #111 !important;
    transform: translateY(-1px) !important;
    box-shadow:
        0 12px 26px rgba(0,0,0,0.14),
        0 4px 8px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -2px 6px rgba(0,0,0,0.06) !important;
}

button.gfrgc-check-button:active,
.button.gfrgc-check-button:active,
input[type="button"].gfrgc-check-button:active,
input[type="submit"].gfrgc-check-button:active,
a.gfrgc-check-button:active {
    transform: translateY(1px) !important;
    background: linear-gradient(180deg, #e8e8e8 0%, #f3f3f3 100%) !important;
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,0.14),
        0 1px 2px rgba(0,0,0,0.06) !important;
}

button.gfrgc-check-button:focus,
.button.gfrgc-check-button:focus,
input[type="button"].gfrgc-check-button:focus,
input[type="submit"].gfrgc-check-button:focus,
a.gfrgc-check-button:focus {
    outline: none !important;
    box-shadow:
        0 0 0 4px rgba(0,0,0,0.07),
        0 8px 18px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,1) !important;
}
