.compatibility-diagnosis-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.compatibility-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.compatibility-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.compatibility-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.form-section {
    padding: 20px;
    border-radius: 8px;
}

.my-info {
    background: #e3f2fd;
}

.partner-info {
    background: #fce4ec;
}

.form-section h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: bold;
}

.my-info h4 {
    color: #1976d2;
}

.partner-info h4 {
    color: #c2185b;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.form-submit button:hover {
    transform: scale(1.05);
}

.compatibility-results {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff0f5 100%);
}

.compatibility-results h4 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 24px;
    color: #333;
}

.compatibility-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .compatibility-scores {
        grid-template-columns: 1fr;
    }
}

.score-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.score-item h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.score-value {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.score-item:nth-child(1) h5,
.score-item:nth-child(1) .score-value {
    color: #e91e63;
}

.score-item:nth-child(2) h5,
.score-item:nth-child(2) .score-value {
    color: #2196f3;
}

.score-item:nth-child(3) h5,
.score-item:nth-child(3) .score-value {
    color: #4caf50;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    width: 0%;
    transition: width 1s ease-in-out;
    border-radius: 4px;
}

.score-item:nth-child(1) .score-fill {
    background: #e91e63;
}

.score-item:nth-child(2) .score-fill {
    background: #2196f3;
}

.score-item:nth-child(3) .score-fill {
    background: #4caf50;
}

.total-compatibility {
    text-align: center;
    margin-bottom: 30px;
}

.total-score {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
}

.total-label {
    font-size: 18px;
    color: #666;
}

.compatibility-comment,
.compatibility-advice {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.compatibility-comment h5,
.compatibility-advice h5 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.compatibility-comment p,
.compatibility-advice p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.result-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.result-actions button:hover {
    transform: scale(1.05);
}

.btn-pdf {
    background: #f44336;
}

.btn-twitter {
    background: #1da1f2;
}

.btn-facebook {
    background: #1877f2;
}

.fas, .fab {
    margin-right: 5px;
}