/* ================== Pixels App Main Stylesheet ================== */
:root {
  /* Typography */
  --font-family: "Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-size: 14px;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 800;

  /* Palette */
  --text-color: #252B2A;
  --dark-color: #1C1B1F;
  --dark-color-secondary: #333333;
  --light-color: #EAEAEA;
  --white-color: #ffffff;

  /* Cells */
  --cell-color-green: #BEE97E4D;
  --cell-color-blue:  #7EB8E94D;
  --cell-color-red:   #FF7BAC4D;
  --cell-border-color: #EAEAEA;

  /* Buttons */
  --button-default-hover: #252525;
  --button-default-disabled: #9E9E9E;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  height: 100vh;
  overflow: visible;
  margin: 0;
  padding: 0;
  background: var(--white-color);
}

/* ----------------------------- Onboarding Process CSS----------------------------- */
.login-container {
    background: white;
    padding:10px 80px 50px 80px;
    margin: 30px 0;
    border-radius: 20px;
    border:1px solid var(--cell-border-color);
}
.logo-login-page{
  position: relative;
  top:-34px;
}

.profile-pic-holder{
  height: 70px;
  background: linear-gradient(90deg, rgba(255, 147, 30, 0.3) 0%, rgba(255, 123, 172, 0.3) 50.48%, rgba(101, 186, 247, 0.3) 100%);
  border-radius: 20px 20px 0 0;
  margin: 40px 0 0 0;
}
.profile-pic-holder figure{
  text-align: center;
}
.profile-pic-holder.nonprofile-pic{
  margin: 40px 0 90px 0;
}
.profile-form{
  margin: 96px 0 0 0;
}
.profile-form textarea{
  text-align: left;
  width:100%;
}
.profile-form h5{
  font-weight: var(--font-weight-medium);
}

.cause-inner {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: border 0.3s ease;
}

.cause-inner.active-cause {
    border: 2px solid var(--button-default-disabled); /* or your gradient color */
    background-image: linear-gradient(90deg, rgba(255, 147, 30, 0.3) 0%, rgba(255, 123, 172, 0.3) 50.48%, rgba(101, 186, 247, 0.3) 100%);;
}
.fields-group{
  border:1px solid var(--cell-border-color);
  padding:5px 8px;
  border-radius: 8px;
}
fieldset.equal-height{
  min-height:180px;
}
.tall-fields-group{
  padding: 12px;
}
.form-label, .form-check-label{
    font-size: 14px;
    color:var(--button-default-disabled);
    margin:0;
    font-weight: 400;
}
.form-check-label{
  color: var(--dark-color);
}
.form-check-input[type=checkbox],
.form-check-input{
  border:1px solid var(--dark-color);
  border-radius: 2px;
}
.form-check-input:checked{
  background: var(--dark-color) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-control {
    padding: 0;
    font-size: 15px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: #ff9466;
    background: transparent;
}
.fields-group .form-select:focus,
.fields-group .form-select{
  border:none;
  box-shadow: none;
}
.nonprofit-text a{
  color: var(--dark-color);
  text-decoration: none;
}
.btn-continue{
  width: 500px;
  display: inline-block;
}

.connection-pill{
  min-width: 190px;
  width: auto !important;
  height: 65px;
  border-radius: 100px;
  border: 1px solid var(--light-color);
  display: inline-flex;
  flex-direction: row;    /* stack items vertically */
  align-items: center;
  margin: 0 20px 20px 0;   
  padding: 8px 16px 8px 8px;
  position: relative;
  overflow: hidden;
}

.connection-pill figure{
  display: inline-block;
  width: 45px;
  height: 45px;
  float: left;
}
.connection-info{
  float: left;
  margin: 0 0 0 10px;
}
.connection-info h5{
  padding: 0 16px 0 0;
  background: url('../img/verified.svg') center right no-repeat;
}
.connection-hover button{
  width: 100%;
  height: 65px;
  position: absolute;
  left:300px;
  top:0;
  visibility: hidden;
  transition: all 0.4s;
}
.connection-hover button img{
  margin: 0 20px 0 0;
}
.connection-pill:hover .connection-hover button{
  visibility: visible;
  left:0;
}
.funding-benefits{
  padding: 20px 30px 0px 30px;
}
.funding-benefits li{
  margin: 0 0 20px 0;
}
.nonprofit-categories .form-check{
  margin: 0 0 5px 0;
}
.fieldset {
    background: #ffffff;
    border: 1px solid #c7cbd1;
    border-radius: 6px;
    padding: 0;
    position: relative;
}

.legend {
    position: absolute;
    top: -10px;
    left: 25px;
    background: white;
    padding: 0 4px;
    width:auto;
    font-size: var(--font-size);
    color: var(--button-default-disabled);
    font-weight: 400;
}
.legend.centered{
  left: 50%;
  transform: translateX(-50%);
}
.upload-row {
    padding:5px 15px;
}

.upload-row:last-child {
    border-bottom: none;
}

.upload-row:first-child {
    margin-top: 14px;
}

.upload-label {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    line-height: 1.5;
    flex: 1;
}

.optional {
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    float: right;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.choose-file-btn {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.choose-file-btn:hover {
    color: #374151;
}

.file-name {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.title-holder{
  position: relative;
}
.back-btn{
  width: 38px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  position: absolute;
  left: -54px;
  top:50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 100%;
  border: 1px solid var(--light-color);
}
.social-row p{
  color: var(--button-default-disabled);
}
.social-row a{
  color: var(--dark-color);
  text-decoration: none;
  display: inline-block;
  margin: 0 0 20px 0;
}
.social-row a img{
  margin: 0 10px 0 0;
}

/*====Payment Method Styles====*/


.method-item {
    border-bottom: 1px solid #d1d5db;
}

.method-item:last-child {
    border-bottom: none;
}

.method-button {
    width: 96%;
    margin: 2% auto;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--light-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.method-button:hover {
    background-color: #f9fafb;
}

.method-info {
    text-align: left;
}

.method-name {
    font-size: 15px;
    color: #111827;
    font-weight: 400;
    margin-bottom: 2px;
}

.method-description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.chevron {
    width: 26px;
    height: 26px;
    stroke: var(--button-default-disabled);
    transition: transform 0.3s;
}

.chevron.rotate {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: none;
}

.accordion-content.active {
    max-height: 600px;
    border-top: 1px solid #e5e7eb;
}

.form-container {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--light-color);
}

.submit-btn {
    width: 100%;
    padding: 10px 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background-color: #2563eb;
}
/*====Review Form styles===*/
.review-fieldset .form-control{
  color: var(--dark-color);
}
.form-control:disabled{
  background: none;
  color: var(--dark-color);
}
.edit-link {
    font-size: var(--font-size);
    color: var(--dark-color);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.edit-link:hover {
    color: #374151;
}
.fields-group {
    position: relative;
}

.fields-group .form-control {
    padding-right: 60px; /* Make space for the edit link */
}

.fields-group .edit-link {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 10px; /* Adjust for label height */
    font-size: 14px;
    color: #111827;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 10;
}

.fields-group .edit-link:hover {
    color: #374151;
}

.save-cancel-buttons {
    display: none;
    gap: 8px;
    margin-top: 8px;
}

.save-cancel-buttons.show {
    display: flex;
}

.save-btn, .cancel-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.save-btn {
    background-color: #3b82f6;
    color: white;
}

.save-btn:hover {
    background-color: #2563eb;
}

.cancel-btn {
    background-color: #e5e7eb;
    color: #374151;
}

.cancel-btn:hover {
    background-color: #d1d5db;
}

 .status-tracker {
    position: relative;
    width: 300px;
    margin: 50px auto;
}

.status-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    position: relative;
}
.status-item h5,
.status-item p{
  margin: 0;
}
.status-item:last-child {
    min-height: auto;
}

/* Timeline circle and line */
.timeline-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top:6px;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--dark-color);
    position: relative;
    z-index: 2;
}

.circle.filled {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.connecting-line {
    width: 1px;
    background-color: var(--dark-color);
    height: 60px;
    margin-top: -3px;
}

/* Content area */
.status-content {
    padding-top: 0;
}

.status-title {
    font-weight: var(--font-weight-medium);
}


.status-item:last-child .status-description {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .status-tracker {
        padding: 20px;
    }
}