/* Save Company Button */
.crehq-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.crehq-save-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.crehq-save-btn.is-saved {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}
.crehq-save-btn .save-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}
.crehq-save-btn.is-saved .save-icon {
    fill: #ef4444;
}
.crehq-save-btn:hover .save-icon {
    transform: scale(1.1);
}

/* Toast Notification */
.crehq-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.crehq-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Signup Modal */
#crehq-signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#crehq-signup-modal.hidden {
    display: none;
}
#crehq-signup-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
#crehq-signup-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
#crehq-signup-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#crehq-signup-modal .modal-close:hover {
    background: #e5e7eb;
}
#crehq-signup-modal .modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#crehq-signup-modal .modal-icon svg {
    width: 32px;
    height: 32px;
    fill: #ef4444;
}
#crehq-signup-modal h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
}
#crehq-signup-modal p {
    color: #6b7280;
    margin: 0 0 24px;
    font-size: 14px;
}
#crehq-signup-modal .btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
#crehq-signup-modal .btn-primary:hover {
    background: #1d4ed8;
}
#crehq-signup-modal .btn-secondary {
    display: block;
    margin-top: 12px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
}
#crehq-signup-modal .btn-secondary:hover {
    color: #1f2937;
}
