/* WEEDDOO Oportunidades - Frontend CSS */

.weeddoo-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.weeddoo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.weeddoo-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #dc3545;
}

.weeddoo-input,
.weeddoo-textarea,
.weeddoo-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.weeddoo-select {
    height: auto;
    min-height: 44px;
    line-height: 1.4;
    padding-right: 35px;
    background-position: right 10px center;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.weeddoo-input:focus,
.weeddoo-textarea:focus,
.weeddoo-select:focus {
    outline: none;
    border-color: #0073aa;
}

.weeddoo-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.weeddoo-submit-btn:hover {
    background: #005a87;
}

.weeddoo-form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

.weeddoo-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.weeddoo-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Grid Styles */
.weeddoo-grid-container {
    padding: 30px 0;
}

.weeddoo-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.weeddoo-search-input,
.weeddoo-filter-select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.weeddoo-search-input {
    flex: 2;
    min-width: 250px;
}

.weeddoo-filter-select {
    flex: 1;
    min-width: 180px;
    height: auto;
    line-height: 1.4;
}

.weeddoo-filter-btn {
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.weeddoo-filter-btn:hover {
    background: #005a87;
}

.weeddoo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.opportunity-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.opportunity-card h3 {
    margin: 0 0 15px 0;
    color: #0073aa;
    font-size: 20px;
}

.opportunity-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 10px;
}

.badge-patrocinio {
    background: #fff3cd;
    color: #856404;
}

.badge-contratacao {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-internacional {
    background: #d4edda;
    color: #155724;
}

.badge-nacional {
    background: #cce5ff;
    color: #004085;
}

.opportunity-description {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.opportunity-company {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.ver-mais-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    font-size: 14px;
}

.ver-mais-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.4);
}

.inscricao-btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.inscricao-btn:hover {
    background: #218838;
}

/* Modal de Detalhes da Oportunidade */
.weeddoo-details-modal {
    padding: 40px 20px;
}

.opportunity-details-modal {
    background: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.opportunity-details-modal h2 {
    margin: 0 0 20px 0;
    color: #0073aa;
    font-size: 28px;
    font-weight: 700;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 15px;
}

.details-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.badge-estado {
    background: #ffc107;
    color: #000;
}

.details-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #0073aa;
}

.details-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.details-section p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

.full-description {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.details-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.inscricao-btn-details {
    flex: 2;
    padding: 16px 32px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.inscricao-btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.close-details-btn {
    flex: 1;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.close-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

/* Modal Styles */
.weeddoo-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.weeddoo-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.weeddoo-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.weeddoo-modal-close:hover {
    color: #fff;
    background: #dc3545;
}

.weeddoo-modal-content h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
}

/* Formulário de Inscrição */
#weeddoo-inscricao-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#weeddoo-inscricao-form .weeddoo-form-group {
    margin-bottom: 0;
}

#weeddoo-inscricao-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

#weeddoo-inscricao-form .weeddoo-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#weeddoo-inscricao-form .weeddoo-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

#weeddoo-inscricao-form .weeddoo-submit-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#weeddoo-inscricao-form .weeddoo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

#weeddoo-inscricao-form .weeddoo-submit-btn:active {
    transform: translateY(0);
}

#weeddoo-inscricao-form .weeddoo-form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 0;
    display: none;
    font-weight: 500;
}

#weeddoo-inscricao-form .weeddoo-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#weeddoo-inscricao-form .weeddoo-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .weeddoo-grid {
        grid-template-columns: 1fr;
    }
    
    .weeddoo-filters {
        flex-direction: column;
    }
    
    .opportunity-details-modal {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .opportunity-details-modal h2 {
        font-size: 22px;
    }
    
    .details-section {
        padding: 15px;
    }
    
    .details-section h3 {
        font-size: 16px;
    }
    
    .details-actions {
        flex-direction: column;
    }
    
    .inscricao-btn-details,
    .close-details-btn {
        width: 100%;
        padding: 14px 24px;
    }
}
/* ==========================================================
   WEEDDOO CLASSIFICADOS - UI 1.1
   ========================================================== */
.weeddoo-grid-container{padding:22px 0 45px!important;max-width:1180px;margin:0 auto;font-family:inherit}
.weeddoo-classifieds-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding:4px 2px}
.weeddoo-eyebrow{display:block;color:#0087aa;font-size:11px;font-weight:800;letter-spacing:1.5px;margin-bottom:6px}
.weeddoo-classifieds-head h2{font-size:28px!important;line-height:1.18;margin:0 0 7px!important;color:#17202a!important;font-weight:800!important}
.weeddoo-classifieds-head p{margin:0;color:#6f7782;font-size:14px;max-width:650px}
.weeddoo-results-pill{display:flex;align-items:center;gap:8px;background:#f4f7f8;border:1px solid #e7ecef;border-radius:12px;padding:9px 13px;white-space:nowrap;color:#66717d;font-size:12px}
.weeddoo-results-pill strong{font-size:18px;color:#0087aa}
.weeddoo-filters{display:grid!important;grid-template-columns:minmax(260px,2fr) minmax(170px,1fr) minmax(190px,1fr) auto;gap:10px!important;margin-bottom:18px!important;padding:12px;background:#fff;border:1px solid #e8ecef;border-radius:14px;box-shadow:0 5px 20px rgba(25,40,55,.05)}
.weeddoo-search-input,.weeddoo-filter-select{margin:0!important;min-width:0!important;width:100%!important;height:44px!important;padding:0 14px!important;border:1px solid #e3e7ea!important;border-radius:9px!important;background:#f8f9fa!important;color:#313944!important;font-size:13px!important;box-shadow:none!important;outline:none!important}
.weeddoo-search-input:focus,.weeddoo-filter-select:focus{border-color:#0087aa!important;background:#fff!important}
.weeddoo-filter-btn{height:44px!important;padding:0 24px!important;border-radius:9px!important;background:#0087aa!important;font-size:13px!important;box-shadow:none!important}
.weeddoo-filter-btn:hover{background:#006f8d!important}
.weeddoo-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.opportunity-card{display:flex;flex-direction:column;min-width:0;background:#fff!important;border:1px solid #e7ebee!important;border-radius:15px!important;padding:20px!important;box-shadow:0 5px 18px rgba(30,45,60,.055)!important;cursor:default!important;transition:.2s ease!important;overflow:hidden}
.opportunity-card:hover{transform:translateY(-2px)!important;border-color:#d7e2e6!important;box-shadow:0 10px 28px rgba(30,45,60,.09)!important}
.opportunity-card-top{display:flex;align-items:flex-start;gap:13px}
.opportunity-company-avatar{flex:0 0 44px;width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#e9f7fa;color:#0087aa;font-weight:800;font-size:19px;border:1px solid #d6eef3}
.opportunity-heading{min-width:0;flex:1}.opportunity-meta-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.opportunity-card h3{margin:0 0 3px!important;color:#17202a!important;font-size:18px!important;line-height:1.3!important;font-weight:800!important}
.opportunity-company-name{font-size:12.5px;color:#69727c;font-weight:600}
.opportunity-badge{margin:0!important;padding:5px 9px!important;border-radius:7px!important;font-size:10px!important;font-weight:800!important;line-height:1!important}
.badge-tipo{background:#eef9d2!important;color:#516b00!important}.badge-local{background:#e8f5f8!important;color:#006c88!important}
.opportunity-date{font-size:10.5px;color:#9aa1a8;white-space:nowrap}
.opportunity-description{font-size:13px!important;line-height:1.55!important;color:#59636e!important;margin:15px 0 13px!important;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.opportunity-info-row{display:flex;gap:14px;flex-wrap:wrap;padding:11px 0;border-top:1px solid #f0f2f3;color:#6c7680;font-size:11.5px}
.opportunity-info-item b{color:#0087aa;font-size:14px;margin-right:3px}
.opportunity-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:8px}
.ver-mais-btn,.inscricao-btn{margin:0!important;width:100%!important;height:39px!important;padding:0 10px!important;border-radius:8px!important;font-size:12px!important;font-weight:750!important;transform:none!important;box-shadow:none!important}
.ver-mais-btn{background:#fff!important;color:#0087aa!important;border:1px solid #0087aa!important}.ver-mais-btn:hover{background:#f0fafc!important;box-shadow:none!important}
.inscricao-btn{background:#0087aa!important;color:#fff!important;border:1px solid #0087aa!important}.inscricao-btn:hover{background:#006f8d!important}
.weeddoo-empty,.weeddoo-loading{grid-column:1/-1;text-align:center;padding:55px 20px;background:#fff;border:1px dashed #dce3e7;border-radius:15px;color:#78828c}.weeddoo-empty span{font-size:35px;color:#0087aa}.weeddoo-empty h3{margin:8px 0 3px;color:#27313b}.weeddoo-empty p{margin:0}
.weeddoo-details-modal{background:rgba(17,27,34,.66)!important;backdrop-filter:blur(3px)}
.opportunity-details-modal{position:relative;max-width:720px!important;padding:32px!important;border-radius:18px!important;box-shadow:0 25px 80px rgba(0,0,0,.25)!important}
.opportunity-details-modal h2{font-size:26px!important;color:#17202a!important;border:0!important;padding:0!important;margin:0 45px 15px 0!important}
.close-details-x{position:absolute;right:20px;top:18px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f3f4;color:#66717a;font-size:24px;cursor:pointer}
.details-section{border:0!important;border-radius:10px!important;background:#f7f9fa!important;padding:16px!important;margin-bottom:10px!important}.details-section h3{font-size:12px!important;text-transform:uppercase;letter-spacing:.6px;color:#0087aa!important;margin:0 0 6px!important}.details-section p{font-size:13px!important;line-height:1.65!important;color:#4f5963!important}
.details-actions{gap:8px!important;border:0!important;margin-top:16px!important;padding-top:0!important}.inscricao-btn-details,.close-details-btn{flex:1;border-radius:9px!important;height:43px!important;font-weight:700!important;cursor:pointer}.inscricao-btn-details{background:#0087aa!important;color:#fff!important;border:1px solid #0087aa!important}.close-details-btn{background:#fff!important;color:#59636e!important;border:1px solid #dfe4e7!important}
@media(max-width:820px){.weeddoo-classifieds-head{align-items:flex-start;flex-direction:column}.weeddoo-filters{grid-template-columns:1fr!important}.weeddoo-grid{grid-template-columns:1fr!important}.weeddoo-results-pill{display:none}.opportunity-card-actions{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.opportunity-card{padding:16px!important}.opportunity-date{display:none}.opportunity-card-actions{grid-template-columns:1fr}.weeddoo-classifieds-head h2{font-size:23px!important}}
