.ec-dashboard ul {
  list-style: none;
  padding-left: 0;
}

.ec-dashboard li {
  margin: 0.5em 0;
}

.ec-dashboard-partner-block, .ec-dashboard-academia-block {
    margin-top: 2rem;
    padding: 1rem;
    border: 2px solid #003a59;
    border-radius: 3px;
    /*max-width: 900px;*/
}
.ec-dashboard-partner-block h4 {
    margin-top: 16px;
}
.inactive-resource-row {
    background-color: #f7f7f7;
    color: #666;
}
  table.ec-resource-table th {
    padding: 4px 8px;
    background-color: #f0f0f0;
}
   table.ec-resource-table td {
    padding: 4px 8px;
    background-color: #f6f8fa;
}
.nowrap {
    white-space: nowrap;
}

.ec-action-row {
    margin: 1em 0;
}

.ec-action-buttons, .ec-confirm-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75em;
    gap: 1em;
}
button#ec-accept-request {
	float: right;
}
.ec-reject-confirm, .ec-withdraw-confirm {
	text-align: center;
	display: none;
}


.ec-submit-buttons {
    margin-top: 30px;
}
.ec-button {
	display: inline-block;
	margin-top: 1em;
	color: #ffffff!important;
	border: none;
	border-radius: 25px;
	letter-spacing: 2px;
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif!important;
	font-weight: 700!important;
	background-color: #2a7ddf;
	font-size: 20px;
	padding: .3em 1em;
}

.acf-form-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.acf-form-submit {
    padding: 16px;
}
.ec-state-selections ul.acf-checkbox-list, .ec-state-selections .gfield_checkbox {
    column-count: 3;
}
  .ec-state-selections ul.acf-checkbox-list li:first-of-type {
    /*font-weight: bold;*/
}
#gform_23 .gf_progressbar_percentage span {
    display: none;
}
#gform_23 .gfield_description {
    padding-top: 0;
}
/*TOU acf field */
.acf-field-68ca06dbf74e6 ul.acf-checkbox-list {
    border: 1px solid #98a2b3;
    padding: 6px;
}
.ec-readonly input[readonly] {
    background: #f7f7f7;
    color: #555;
    cursor: not-allowed;
}
.acf-field.acf-field-relationship.acf-field-6861ae99c940c {
    display: none;
}
  .acf-field-68764152ee566 .acf-checkbox-list, .checklist-3-col .acf-checkbox-list {
    column-count: 3;
}
  .acf-field-6877c026a7565 .acf-checkbox-list, .checklist-2-col .acf-checkbox-list {
    column-count: 2;
}
  .acf-hidden {
    display: none !important;
}

/* this was for resource editing - does it effect others? */
  .acf-fields {
    display: flex;
    flex-direction: column;
}
  .acf-field-68614f76713d9 {
    order: -1;
}


.ec-loading-spinner {
    border: 3px solid #e0e0e0;
    border-top: 3px solid #2c662d;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ec-action-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #1b5e20;
    background: #2e7d32;
    color: #fff;
    cursor: pointer;
    line-height: 1.2;
}
.ec-action-btn-default {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
	border: 1px solid #13437c;
    background: #1e63b5;
    color: #fff;
    cursor: pointer;
    line-height: 1.2;
}
.ec-action-btn-danger {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
	border: 1px solid #881d06;
    background: #c02b0a;
    color: #fff;
    cursor: pointer;
    line-height: 1.2;
}


/* ============================================================
   MODAL STYLING
   ============================================================ */

.ec-modal-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    padding: 30px;
    box-sizing: border-box;
}

.ec-modal-inner {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px auto;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ec-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

.ec-modal-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #2c662d;
}

.ec-modal-section {
    border-bottom: dashed 1px #73738c;
    padding: 15px 0;
}
.ec-modal-actions {
    padding: 15px 0;
}


/* ============================================================
   DEBUG BLOCKS - TO BE UNUSED?  Commented out to test that
   ============================================================ */
/*
.ec-resource-debug summary {
    cursor: pointer;
    font-weight: 600;
}

.ec-resource-debug .ec-debug-pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 12px;
    border-radius: 6px;
    overflow: auto;
    max-height: 320px;
    font-size: 12px;
    line-height: 1.35;
}

.ec-org-debug {
    margin: 8px 0 12px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff6db;
    font-size: 14px;
} */