/* Genel Kapsayıcılar */
.cce-wrap {
    max-width: 900px;
    /* Daha odaklı görünüm için daraltıldı */
    margin: 30px auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.cce-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cce-left,
.cce-right {
    flex: 1;
    min-width: 300px;
}

/* Kart Yapısı */
.cce-card {
    background: #ffffff;
    border: 1px solid #e2e4e7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Daha yumuşak gölge */
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cce-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.cce-card-header {
    background: linear-gradient(to right, #f0f4f8, #ffffff);
    padding: 16px 20px;
    border-bottom: 1px solid #e2e4e7;
    display: flex;
    align-items: center;
}

.cce-section-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cce-card-body {
    padding: 24px;
}

/* Form Elemanları */
.cce-form-group {
    margin-bottom: 24px;
}

.cce-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #50575e;
    font-weight: 500;
}

.cce-textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #dcdcde;
    font-size: 15px;
    line-height: 1.6;
    background-color: #f9f9fa;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
}

.cce-textarea:focus {
    border-color: #2271b1;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
    outline: none;
}

/* Buttons */
.button.button-secondary {
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #2271b1;
    color: #2271b1;
    background: #fff;
}

.button.button-secondary:hover {
    background: #f0f6fc;
    color: #135e96;
}

.button.button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    border-radius: 6px;
    padding: 10px 24px;
    /* Larger CTA */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.button.button-primary:hover {
    background: #135e96;
}

/* CV Upload Area Customization */
#cce_cv_upload {
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Sonuç Kartı */
.cce-result-card .cce-card-header {
    background: linear-gradient(to right, #f3f4f5, #fff);
}

.cce-result-content {
    background: #fbfbfb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    min-height: 100px;
    white-space: pre-wrap;
    font-size: 15px;
    color: #2c3338;
    line-height: 1.7;
}

/* Mic Button */
.cce-mic-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cce-mic-btn:hover {
    background: #f6f7f7;
    transform: scale(1.05);
    border-color: #c3c4c7;
}

.cce-mic-btn.recording {
    background: #d63638;
    color: #fff;
    border-color: #d63638;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 54, 56, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(214, 54, 56, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 54, 56, 0);
    }
}