/* CV Creator Extension Styles */

.cv-creater-plugin {
    padding: 20px 0;
}

/* CV List Styles */
.cv-list {
    margin: 20px 0;
}

.cv-list h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.cv-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cv-image {
    text-align: center;
    margin-bottom: 15px;
}

.cv-image img {
    border-radius: 50%;
    object-fit: cover;
}

.cv-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    color: #2c3e50;
}

.cv-email, .cv-phone {
    margin: 8px 0;
    font-size: 0.95em;
}

.cv-summary {
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
}

.cv-actions {
    margin-top: 20px;
}

/* CV Detail Styles */
.cv-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.cv-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.cv-profile-image {
    flex-shrink: 0;
}

.cv-profile-image img {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.cv-header-info {
    flex-grow: 1;
}

.cv-header-info h1 {
    margin: 0 0 20px 0;
    font-size: 2.5em;
    color: #ffffff;
}

.cv-contact {
    background: #111931;
    padding: 15px;
    border-radius: 5px;
}

.cv-contact p {
    margin: 8px 0;
}

.cv-section {
    margin-bottom: 40px;
}

.cv-section h2 {
    font-size: 1.8em;
    color: #34495e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.cv-section p, .cv-section ul, .cv-section ol {
    line-height: 1.8;
    color: #555;
}

/* Skills Styles */
.cv-skills-structured {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cv-skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.cv-skill-item:hover {
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.cv-skill-logo {
    flex-shrink: 0;
}

.cv-skill-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.cv-skill-content {
    flex-grow: 1;
}

.cv-skill-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 600;
}

.cv-skill-content p {
    margin: 0;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.4;
}

.cv-skills-legacy {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

/* Experience Styles */
.cv-experience-structured {
    margin-top: 20px;
}

.cv-experience-item {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cv-experience-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
    border-left-width: 6px;
}

.cv-experience-header {
    margin-bottom: 15px;
}

.cv-experience-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
}

.cv-experience-header h4 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    color: #3498db;
    font-weight: 500;
}

.cv-experience-dates {
    margin: 0;
    font-size: 0.9em;
    color: #7f8c8d;
    font-style: italic;
}

.cv-experience-description {
    margin-top: 15px;
    line-height: 1.8;
    color: #555;
}

.cv-experience-description p {
    margin: 10px 0;
}

.cv-experience-description ul,
.cv-experience-description ol {
    margin: 10px 0;
    padding-left: 25px;
}

.cv-experience-description li {
    margin: 5px 0;
}

.cv-experience-legacy {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #95a5a6;
}

/* Button Styles
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}
 */
/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cv-header-info h1 {
        font-size: 2em;
    }
}
