/* Telma Job Plugin Styles */

.telma-job-container {
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.telma-job-header {
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid rgba(0, 183, 250, 0.30);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.telma-job-header:hover {
    background:rgba(0, 183, 250, 0.30);
}

.telma-job-header:focus,
.telma-job-header:focus-visible {
    outline: none !important;
}

.telma-job-title-section {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.telma-job-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.telma-job-suffix {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.telma-job-subtitle {
    font-size: 18px;
    color: #4E545A;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.telma-job-arrow {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telma-job-arrow.expanded {
    transform: translateY(-50%) rotate(180deg);
}

.telma-job-arrow svg {
    width: 100%;
    height: auto;
    max-width: 30px;
}

.telma-job-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.telma-job-content.expanded {
    max-height: 2000px;
    padding: 30px;
}

.telma-job-description {
    font-size: 15px;
    line-height: 1.5;
    color: #444444;
    margin: 0 0 15px 0;
    text-align: left;
}

.telma-job-description:last-of-type {
    margin-bottom: 25px;
}

.telma-job-application {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.telma-job-application-text {
    font-size: 18px;
    color: #00b7fa;
    font-weight: 500;
}

.telma-job-email-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: #ffffff !important;
    border: 2px solid #00b7fa !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    color: #00b7fa !important;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: 50px;
    box-shadow: none !important;
}

.telma-job-email-button:hover,
.telma-job-email-button:focus,
.telma-job-email-button:active,
.telma-job-email-button:visited {
    background: #00b7fa !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 183, 250, 0.3) !important;
}

.telma-job-email-button:hover .telma-job-mail-icon svg path,
.telma-job-email-button:hover .telma-job-mail-icon svg line,
.telma-job-email-button:hover .telma-job-mail-icon svg rect,
.telma-job-email-button:focus .telma-job-mail-icon svg path,
.telma-job-email-button:focus .telma-job-mail-icon svg line,
.telma-job-email-button:focus .telma-job-mail-icon svg rect {
    stroke: #ffffff !important;
}

.telma-job-mail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 20px;
}

.telma-job-mail-icon svg {
    width: 100%;
    height: auto;
    max-width: 30px;
}

.telma-job-email {
    font-family: inherit;
    top: -2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .telma-job-header {
        padding: 20px;
    }
    
    .telma-job-content.expanded {
        padding: 20px;
    }
    
    .telma-job-title,
    .telma-job-suffix {
        font-size: 18px;
    }
    
    .telma-job-subtitle {
        font-size: 16px;
    }
    
    .telma-job-arrow {
        right: 20px;
        width: 30px;
        height: 30px;
    }
    
    .telma-job-application {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .telma-job-email-button {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .telma-job-title-section {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .telma-job-title,
    .telma-job-suffix {
        font-size: 14px;
    }
    
    .telma-job-description {
        font-size: 14px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .telma-job-container,
    .telma-job-header,
    .telma-job-arrow,
    .telma-job-content,
    .telma-job-email-button {
        transition: none;
    }
}

/* Focus styles for accessibility */
.telma-job-header:focus {
    outline: 2px solid #00b7fa;
    outline-offset: 2px;
}

.telma-job-email-button:focus {
    outline: 2px solid #00b7fa;
    outline-offset: 2px;
} 