/* Palette and font matched to the site header/footer and the Profile Details card */
.elementor-widget-my_applications_719bfd62 {
    --ma-blue: var(--e-global-color-4ab95de, #1D4ED8);
    --ma-accent: #467FF7;
    --ma-heading: #1C244B;
    --ma-text: #324A6D;
    --ma-lighter: var(--e-global-color-5407c2d, #E3F3FF);
    --ma-success: var(--e-global-color-45cba0d, #12CE90);
    --ma-failure: var(--e-global-color-acf544e, #C0695D);
    --ma-border: #C8D5DC;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: var(--ma-text);
}

.my-applications-wrapper {
    background: #ffffff;
    border: 1px solid var(--ma-border);
    border-radius: 10px;
    padding: 24px;
}

.my-apps-title {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ma-heading);
    margin: 0 0 20px;
    border-bottom: 1px solid var(--ma-lighter);
    padding-bottom: 12px;
}

.my-apps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-app-card {
    border: 1px solid var(--ma-border);
    border-radius: 10px;
    padding: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.my-app-card:hover {
    border-color: var(--ma-accent);
    box-shadow: 0 4px 12px rgba(28, 36, 75, 0.08);
}

.my-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.app-project-title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.elementor-widget-my_applications_719bfd62 .app-project-title a {
    color: var(--ma-heading);
    text-decoration: none;
}

.elementor-widget-my_applications_719bfd62 .app-project-title a:hover {
    color: var(--ma-accent);
}

.app-status-badge {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.app-status-badge.status-applied,
.app-status-badge.status-pending {
    background-color: var(--ma-lighter);
    color: var(--ma-blue);
}

.app-status-badge.status-accepted {
    background-color: #12CE9015;
    color: var(--ma-success);
}

.app-status-badge.status-rejected {
    background-color: #C0695D15;
    color: var(--ma-failure);
}

.app-status-badge.status-withdrawn {
    background-color: #C8D5DC40;
    color: var(--ma-text);
}

.my-app-details {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ma-text);
    margin-bottom: 12px;
}

.my-app-details strong {
    font-weight: 500;
    color: var(--ma-heading);
}

.app-role-line {
    margin: 0 0 8px 0;
}

.app-msg-line {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.app-msg-quote {
    margin: 0;
    padding: 10px 12px;
    background: var(--ma-lighter);
    border-left: 3px solid var(--ma-accent);
    font-style: normal;
    font-size: 14px;
    color: var(--ma-text);
    border-radius: 0 10px 10px 0;
}

.my-app-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--ma-lighter);
    padding-top: 8px;
}

.app-date {
    font-size: 13px;
    color: var(--ma-text);
    opacity: 0.8;
}

.my-apps-empty-state {
    text-align: center;
    padding: 32px 20px;
    background: var(--ma-lighter);
    border: 1px dashed var(--ma-accent);
    border-radius: 10px;
    color: var(--ma-text);
    font-size: 15px;
    line-height: 1.5;
}

.my-apps-empty-state p {
    margin: 0;
}

.my-app-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.my-applications-wrapper .app-dashboard-link { color: #467FF7; font-weight: 500; text-decoration: none; font-size: 14px; }
.my-applications-wrapper .app-dashboard-link:hover { text-decoration: underline; color: #1D4ED8; }

.app-header-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.elementor-widget-my_applications_719bfd62 .app-withdraw, .elementor-widget-my_applications_719bfd62 .app-withdraw:focus { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid #C0695D; border-radius: 50%; background: #fff; color: #C0695D; box-shadow: none; cursor: pointer; transition: background-color .2s, color .2s; }
.elementor-widget-my_applications_719bfd62 .app-withdraw:hover { background: #C0695D; color: #fff; }
.elementor-widget-my_applications_719bfd62 .app-withdraw:disabled { opacity: .6; cursor: default; }

.app-removal { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #C0695D0D; border: 1px solid #C0695D33; font-size: 14px; }
.app-removal p { margin: 0 0 6px; }
.elementor-widget-my_applications_719bfd62 .app-contest-open, .elementor-widget-my_applications_719bfd62 .app-contest-send { padding: 7px 14px; border: 1px solid #C0695D; border-radius: 10px; background: #fff; color: #C0695D; font-family: "Poppins", sans-serif; font-size: 13px; cursor: pointer; box-shadow: none; }
.elementor-widget-my_applications_719bfd62 .app-contest-open:hover, .elementor-widget-my_applications_719bfd62 .app-contest-send:hover { background: #C0695D; color: #fff; }
.app-contest-box { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.app-contest-box[hidden] { display: none; }
.app-contest-box textarea { border: 1px solid #C8D5DC; border-radius: 10px; padding: 9px 12px; font-family: "Poppins", sans-serif; font-size: 14px; }
.app-contest-box .app-contest-send { align-self: flex-start; }
.app-contest-msg { margin: 0; font-size: 13px; }
.app-contest-state { font-style: italic; }

.app-delivered { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: #F5B50014; font-size: 13px; color: #6B5200; }
