
/* Wally Theme - Custom CSS with Inter + Poppins */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');

/* Root Theme Variables */
:root {
  --color-primary: #D22F2F;
  --color-accent: #000000;
  --color-background: #F9F9F9;
  --color-header: #1E1E1E;
  --color-footer: #2C2C2C;
  --color-text: #1E1E1E;
  --color-text-light: #555555;
  --color-link-hover: #B22222;

  --font-header: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --font-size-h1: 36px;
  --font-size-h2: 28px;
  --font-size-h3: 22px;
  --font-size-body: 16px;
  --font-size-caption: 14px;
}

/* Global Reset */
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text);
}

/* Headers */
h1, h2, h3 {
  font-family: var(--font-header);
  color: var(--color-text);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

/* Navigation */
header {
  background-color: var(--color-header);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--color-primary);
}

/* Buttons */
button.primary {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button.primary:hover {
  background-color: var(--color-link-hover);
}

/*Link */
a.primary:active,a.primary:link,a.primary:visited {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

a.primary:hover {
  background-color: var(--color-link-hover);
}

/* Footer */
footer {
  background-color: var(--color-footer);
  color: #DDDDDD;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: var(--font-size-caption);
}

/* Cards or Panels */
.card {
  background-color: white;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

/* Utility Classes */
.text-light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

/* Sticky footer compatible with Bootstrap 4 + MDB */
html, body {
  height: 100%;
  margin: 0;
}

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.dropdown-menu {
	min-width: auto;
	overflow: hidden;
}

.dropdown-item {
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}