/* Standard Button */
.btn-standard {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  text-align: center;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.25rem;
  cursor: pointer;
}

.btn-short{
  padding: 0.25rem 1rem;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  text-align: center;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.25rem;
  cursor: pointer;
}

/* Outlined Button */
.btn-outlined {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  text-align: center;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.25rem;
  cursor: pointer;
}

/* Icon Button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent; /* Transparent border */
  border-radius: 4px;
}

/* Icon inside the button */
.btn-icon .icon {
  margin-right: 0.5rem; /* Adjust spacing between icon and text */
}

/* Disabled Buttons */
.disabled.btn-standard {
  color: var(--color-dark-grey); /* Text color for standard button */
  background-color: var(--color-light-grey); /* Background color for standard button */
  border-color: var(--color-light-grey); /* Border color for standard button */
}

.disabled.btn-outlined {
  color: var(--color-light-grey); /* Text color for outlined button */
  border-color: var(--color-dark-grey); /* Border color for outlined button */
}

.btn-icon.disabled {
  opacity: 0.7;
  pointer-events: none;
}

/* Icon */
.icon {
  display: inline-block;
  width: 20px; /* Adjust as needed */
  height: 20px; /* Adjust as needed */
  /* Add your icon font or SVG styles here */
}

.input {
  padding: 0.5rem 1rem;
  font-size: var(--font-body);
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.input-disabled {
  background-color: var(--color-light-grey);
  border-color: var(--color-grey);
  cursor: not-allowed;
}

.input-icon {
  position: relative;
  padding-right: 2.5rem; /* Space for the icon */
}

.input-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-size: cover;
}

.input-badge-wrapper {
  position: relative;
}

.input-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* Dropdown */
.input-dropdown {
  position: relative;
}

.input-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--color-dark-grey);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.input-dropdown .dropdown-menu.active {
  display: block;
}

.input-dropdown .dropdown-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.input-dropdown .dropdown-item:hover {
  background-color: var(--color-light-grey);
}

.textarea {
  padding: 0.5rem;
  border: 1px solid var(--color-dark-grey);
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea:disabled {
  background-color: var(--color-light-grey);
  border-color: var(--color-dark-grey);
  cursor: not-allowed;
}

.textarea.readonly {
  background-color: var(--color-light-grey);
  border-color: var(--color-dark-grey);
  cursor: default;
}

.textarea-resizable {
  resize: both;
}

.textarea-no-resize {
  resize: none;
}

.checkbox {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--color-light-grey);
  border: 1px solid var(--color-dark-grey);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.checkbox-disabled{
  cursor: not-allowed;
}

.checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: -1;
}

.checkbox input:checked + .checkbox-mark {
  background-color: var(--color-black);
  border-color: var(--color-black);
}

.checkbox .checkbox-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-grey);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: background-color 0.2s;
}

.checkbox input:checked + .checkbox-mark {
  background-color: var(--color-black);
}

.radio {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--color-light-grey);
  border: 1px solid var(--color-dark-grey);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.radio-disabled{
  cursor: not-allowed;
}

.radio input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: -1;
}

.radio input:checked + .radio-mark {
  background-color: var(--color-black);
  border-color: var(--color-black);
}

.radio .radio-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-grey);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s;
}

.radio input:checked + .radio-mark {
  background-color: var(--color-black);
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.input-group-prepend,
.input-group-append {
  padding: 0.5rem 1rem;
}

.input-group-field {
  flex: 1;
  padding: 0.5rem;
  border: none;
  outline: none;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.input-group .input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.form-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px; /* Adjust based on your design needs */
  margin-right: 1rem;
}

.form-row .form-group:last-child {
  margin-right: 0;
}

form {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
}

.form-row-btn{
  margin-left:auto;
  margin-right:auto;
  display:block;
}

.topbar{
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width:100%;
  height:calc(var(--font-body) * 5);
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.ur-search-wrapper{
  width:40%;
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.ur-search-wrapper .input-dropdown{
  width:80%;
}

.topbar-logo{
  margin-left:var(--font-body);
  margin-right:var(--font-body);
}

.topbar-controls{
  margin-left:var(--font-body);
  margin-right:var(--font-body);
}

.whois {
  width: calc(var(--font-body) * 2.5);
  height: calc(var(--font-body) * 2.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-black);
  color:white;
  font-weight: var(--font-weight-bold);
}

.whois-letter {
  font-size: 2rem;
  color: white;
  margin: 0;
  text-transform: uppercase;
}

.app-body{
  width:100%;
  height:calc(100vh - calc(var(--font-body) * 5));
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.sidebar{
  width: 14%;
  height: 100%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.1);
}

.content{
  width:86%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  overflow-y:scroll;
  overflow-x:hidden;
}