@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

.card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Štýly pre vlastný dialóg */
dialog {
    border: none;
    padding: 0;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Dialog content styling */
.dialog-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1.5rem 2rem 1rem;
    border-radius: 1.5rem 1.5rem 0 0;
    position: relative;
}

.dialog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

.dialog-body {
    padding: 2rem;
}

.professional-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #3b82f6;
}

.position-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 0.75rem;
    border: 1px solid #93c5fd;
}

.position-label {
    font-weight: 600;
    color: #1e40af;
}

.position-value {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
}

.dialog-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.copy-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.25);
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.35);
}

.copy-button:active {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Multiselect component styles */
.position-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #374151;
    transition: background-color 0.2s;
}

.position-tag:hover {
    background-color: #d1d5db;
}

.position-tag .remove-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.position-tag .remove-btn:hover {
    background-color: #9ca3af;
    color: white;
}

.position-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.position-option:hover {
    background-color: #f3f4f6;
}

.position-option.selected {
    background-color: #dbeafe;
    color: #1e40af;
}

.position-option .checkbox {
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.position-option.selected .checkbox {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.position-option.selected .checkbox::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}
