/*!
Theme Name: Vedder
Theme URI: https://luuk-arends.notion.site/Vedder-B2B-db5082ce819348fe8c4e570d116585c4?pvs=4
Author: Luuk Arends
Author URI: https://vedderb2b.com/
Description: Vedder is a custom theme with limitless possibilities, offered with the convenience of WordPress.
Version: 1.3
Tested up to: 8.3
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vedder
*/

/* Body */

body {
  font-family: "Inter Regular";
  color: #111827;
  background-color: #f9fafb;
  font-size: 0.925rem;
}

.portal {
  min-height: 100vh;
}

/* Anchors */

a {
  color: #0047ab;
  text-decoration: none;
  font-family: "Inter Medium";
}

/* Headings */

.title {
  font-size: 1.5rem;
  font-family: "Inter Bold";
}

.descr {
  font-size: 0.85rem;
}

/* Typography */

.fw-bold,
strong,
b {
  font-family: "Inter SemiBold";
  font-weight: normal;
}

/* Buttons */

.btn {
  padding: 1rem;
}

.btn-primary {
  background-color: #0047ab !important;
  border-color: #0047ab !important;
}

.btn-secondary.disabled {
  color: #4b5563;
  background-color: #fff;
  border-color: #eaecee;
}

.btn .bi {
  margin-right: 0.5rem;
}

.btn .bi-arrow-right {
  margin-right: 0;
  margin-left: 0.5rem;
}

.btn-delete {
  padding: 0.5rem;
  border: 1px solid var(--bs-danger);
  color: var(--bs-danger);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.upload-success .btn-delete .bi {
  font-size: 1rem;
  color: var(--bs-danger);
}

/* Login */

.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

/* Layout */

.portal-wrapper {
  display: flex;
}

.portal-content {
  width: 100%;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header */

.nav-left {
  background-color: #fff;
  min-height: 100vh;
  width: 250px;
  display: flex;
  flex-direction: column;
}

.nav-brand {
  padding: 1rem;
  display: flex;
  justify-content: center;
  height: 85px;
  border-bottom: 1px solid #eaecee;
}

.nav-menu {
  padding: 3rem 1rem;
}

.nav-menu_bottom {
  border-top: 1px solid #eaecee;
  margin-top: auto;
}

.nav-link {
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: #0047ab;
  background-color: #e6eef7;
  border-radius: 0.5rem;
}

.nav-link .bi {
  font-size: 1.05rem;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  height: 85px;
  background-color: #fff;
  align-items: center;
  border-bottom: 1px solid #eaecee;
  border-left: 1px solid #eaecee;
}

.nav-user {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-user img {
  object-fit: cover;
  border-radius: 50%;
}

.nav-user_name {
  font-family: "Inter Medium";
}

.nav-user_info {
  font-size: 0.85rem;
}

.dropdown-item {
  font-family: "Inter Regular";
  font-size: 0.925rem;
}

/* Forms */

.form-header {
  padding: 2rem 0;
  text-align: center;
}

.form-wrapper {
  padding: 2.5rem;
  background-color: #fff;
  box-shadow: 0 0 3px #00000040;
  border-radius: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
}

.form-col-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label,
.input-group-text {
  color: #374451;
  font-family: "Inter Medium";
  font-size: 0.85rem;
}

.form-control {
  border: 2px solid #eaecee;
  padding: 0.75rem;
}

.form-select {
  font-size: 0.925rem;
}

/* Widgets */

.widget {
  padding: 2.5rem;
  background-color: #fff;
  box-shadow: 0 0 3px #00000040;
  border-radius: 0.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.widget-icon {
  width: 50px;
  height: 50px;
  color: #0047ab;
  background-color: #e6eef7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-success {
  color: #198754;
  background-color: #d1e7dd;
}

.icon-pending {
  color: #ffc107;
  background-color: #fff3cd;
}

.widget-amount {
  color: #374451;
  font-family: "Inter Medium";
  font-size: 1.125rem;
}

.widget-table {
  background-color: #fff;
  box-shadow: 0 0 3px #00000040;
  border-radius: 0.5rem;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.widget-header_title {
  color: #374451;
  font-family: "Inter Medium";
  font-size: 1rem;
}

.table > :not(caption) > * > * {
  padding: 1.5rem;
  font-size: 0.85rem;
}

.table thead tr th {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #374451;
  font-family: "Inter Medium";
}

.status {
  padding: 0.5rem 1rem;
  border-radius: 3rem;
}

.status-pending {
  color: #ffc107;
  background-color: #fff3cd;
}

.status-success {
  color: #198754;
  background-color: #d1e7dd;
}

.status-cancelled {
  color: #dc3545;
  background-color: #f8d7da;
}

/* Content */

.content-block {
  padding: 2.5rem;
  background-color: #fff;
  box-shadow: 0 0 3px #00000040;
  border-radius: 0.5rem;
}

.content-title {
  font-size: 1.5rem;
  font-family: "Inter Bold";
  margin-bottom: 1rem;
}

.content-block p:last-of-type {
  margin-bottom: 2rem;
}

/* Configurator */

.steps-widget {
  background-color: #fff;
  box-shadow: 0 0 3px #00000040;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eaecee;
  display: flex;
  justify-content: space-between;
}

.steps-header_title {
  font-family: "Inter SemiBold";
}

.steps-nav {
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.steps-nav_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter Medium";
  opacity: 0.5;
}

.steps-nav_item .bi {
  font-size: 1.5rem;
}

.steps-nav_item[aria-expanded="true"] {
  color: #0047ab;
  opacity: 1;
}

.steps-content {
  padding: 0 2rem 1rem 2rem;
}

.steps-footer {
  padding: 1.5rem;
  border-top: 1px solid #eaecee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.steps-footer .btn {
  padding: 1rem;
  font-size: 0.85rem;
}

.fileUpload {
  padding: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-direction: column;
  border: 2px dotted #eaecee;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fileUpload:hover {
  border-color: #0047ab;
  background-color: #f8f9fa;
}

.fileUpload.dragover {
  border-color: #0047ab;
  background-color: #e3f2fd;
}

.fileUpload .bi {
  font-size: 2rem;
  opacity: 0.5;
}

.fileUpload-title {
  font-family: "Inter Medium";
}

.fileUpload-descr {
  font-size: 0.85rem;
}

/* Upload states */
.upload-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.upload-progress .bi {
  font-size: 2rem;
  color: #0047ab;
}

.upload-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.upload-success .bi {
  font-size: 2rem;
  color: #198754;
}

.upload-success button {
  pointer-events: auto;
}

.upload-filename {
  font-size: 0.9rem;
  color: #6c757d;
  font-family: "Inter Medium";
}

.upload-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.upload-error .bi {
  font-size: 2rem;
  color: #dc3545;
}

.upload-error button {
  pointer-events: auto;
}

.upload-error-message {
  color: #dc3545;
  font-size: 0.9rem;
  text-align: center;
}

/* DXF Preview */
.dxf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 200px;
}

/* Step navigation enhancements */
.steps-nav_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter Medium";
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.steps-nav_item:hover {
  opacity: 0.7;
}

.steps-nav_item.active {
  color: #0047ab;
  opacity: 1;
}

.steps-nav_item.completed {
  color: #198754;
  opacity: 1;
}

.steps-nav_item.completed .bi:before {
  content: "\f26a"; /* checkmark-circle-fill */
}

.preview-widget {
  gap: 0;
}

.preview-image {
  padding: 0 2rem;
  background-color: #f9fafb;
}

.summary-widget {
  padding: 2rem;
  font-size: 0.85rem;
}

.summary-widget strong {
  display: block;
  margin-bottom: 1rem;
}

.chosen {
  display: flex;
  justify-content: space-between;
}

.chosen .chosen-label {
  opacity: 0.5;
}

.chosen-price {
  opacity: 0.5;
  font-size: 0.85rem;
}

.quote {
  display: grid;
  gap: 1rem;
}

.quote .chosen {
  padding-bottom: 0.5rem;
  border-bottom: var(--bs-border-width) var(--bs-border-style)
    var(--bs-border-color);
}

.quote-total {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.quote-price {
  font-family: "Inter Medium";
  color: #0047ab;
}

/* Calculation Modal */
#calculationModal .modal-dialog {
  max-width: 1280px;
}
