/* Styles pour le frontend */

.tmp-directory-container {
    padding: 20px 0;
}

.tmp-filters {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.tmp-filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tmp-filter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.tmp-filter-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.tmp-talents-grid {
    display: grid;
    gap: 30px;
}

.tmp-columns-2 { grid-template-columns: repeat(2, 1fr); }
.tmp-columns-3 { grid-template-columns: repeat(3, 1fr); }
.tmp-columns-4 { grid-template-columns: repeat(4, 1fr); }

.tmp-talent-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tmp-talent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tmp-talent-avatar {
    height: 200px;
    overflow: hidden;
}

.tmp-talent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmp-talent-content {
    padding: 20px;
}

.tmp-talent-name {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.tmp-talent-domains {
    margin-bottom: 10px;
}

.tmp-domain-tag {
    display: inline-block;
    background: #e9f5ff;
    color: #0073aa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-right: 5px;
    margin-bottom: 5px;
}

.tmp-talent-location {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.tmp-talent-location .dashicons {
    vertical-align: middle;
    font-size: 16px;
}

.tmp-talent-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tmp-view-profile {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 10px;
}

.tmp-favorite-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tmp-favorite-btn:hover {
    background: #f9f9f9;
}

/* Profile styles */
.tmp-talent-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tmp-profile-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tmp-profile-avatar img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tmp-profile-info h1 {
    margin: 0 0 20px 0;
    font-size: 2em;
    color: #333;
}

.tmp-profile-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.tmp-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.tmp-meta-item .dashicons {
    color: #0073aa;
}

.tmp-profile-taxonomies {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.tmp-taxonomy-section {
    margin-bottom: 10px;
}

.tmp-taxonomy-section:last-child {
    margin-bottom: 0;
}

.tmp-profile-content > div {
    margin-bottom: 40px;
}

.tmp-profile-content h2 {
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}

.tmp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.tmp-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.tmp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tmp-gallery-item:hover img {
    transform: scale(1.05);
}

.tmp-realisations-list {
    display: grid;
    gap: 20px;
}

.tmp-realisation-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.tmp-realisation-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}

/* Dashboard styles */
.tmp-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tmp-dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tmp-dashboard-nav li {
    margin-bottom: 10px;
}

.tmp-dashboard-nav a {
    display: block;
    padding: 12px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.tmp-dashboard-nav a:hover,
.tmp-dashboard-nav a.tmp-nav-active {
    background: #0073aa;
    color: white;
}

.tmp-dashboard-section {
    display: none;
}

.tmp-dashboard-section.tmp-active-section {
    display: block;
}

.tmp-dashboard-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tmp-form-group {
    margin-bottom: 20px;
}

.tmp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.tmp-form-group input[type="text"],
.tmp-form-group input[type="email"],
.tmp-form-group input[type="url"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.tmp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tmp-terms-checklist {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.tmp-terms-checklist label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    cursor: pointer;
}

.tmp-terms-checklist input[type="checkbox"] {
    margin-right: 8px;
}

.tmp-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tmp-notice {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.tmp-notice-info {
    background: #e9f5ff;
    border-left: 4px solid #0073aa;
    color: #004170;
}

.tmp-notice-success {
    background: #f0f9f0;
    border-left: 4px solid #46b450;
    color: #2a4a2e;
}

.tmp-notice-error {
    background: #fdf3f3;
    border-left: 4px solid #dc3232;
    color: #8a1f1f;
}

/* Responsive */
@media (max-width: 992px) {
    .tmp-profile-header {
        grid-template-columns: 1fr;
    }
    
    .tmp-dashboard {
        grid-template-columns: 1fr;
    }
    
    .tmp-dashboard-nav ul {
        display: flex;
        overflow-x: auto;
        gap: 10px;
    }
    
    .tmp-dashboard-nav li {
        margin-bottom: 0;
    }
    
    .tmp-dashboard-nav a {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .tmp-talents-grid.tmp-columns-3,
    .tmp-talents-grid.tmp-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tmp-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tmp-talents-grid.tmp-columns-2,
    .tmp-talents-grid.tmp-columns-3,
    .tmp-talents-grid.tmp-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .tmp-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tmp-filter {
        min-width: auto;
    }
    /* Styles du dashboard */
.tmp-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tmp-dashboard-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #ddd;
}

.tmp-dashboard-nav li {
    margin: 0;
}

.tmp-dashboard-nav a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tmp-dashboard-nav a:hover,
.tmp-dashboard-nav a.tmp-nav-active {
    border-bottom-color: #0073aa;
    color: #0073aa;
}

.tmp-dashboard-content {
    padding: 20px 0;
}

.tmp-dashboard-section {
    display: none;
}

.tmp-dashboard-section.tmp-active-section {
    display: block;
}

.tmp-dashboard-form {
    max-width: 800px;
}

.tmp-form-group {
    margin-bottom: 20px;
}

.tmp-form-row {
    display: flex;
    gap: 20px;
}

.tmp-form-row .tmp-form-group {
    flex: 1;
}

.tmp-form-actions {
    margin-top: 30px;
}

.tmp-terms-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tmp-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.tmp-notice-info {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.tmp-notice-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.tmp-notice-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.tmp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.tmp-gallery-item {
    position: relative;
}

.tmp-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.tmp-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 12px;
    cursor: pointer;
}

.tmp-testimonial-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.tmp-testimonial-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
/* /assets/css/frontend.css - Ajoutez à la fin */
.tmp-notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    animation: slideDown 0.3s ease-out;
}

.tmp-notification-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.tmp-notification-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.tmp-notification-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.tmp-login-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.tmp-login-option {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.tmp-login-option h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tmp-login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.tmp-register-form .tmp-form-group {
    margin-bottom: 20px;
}

.tmp-register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tmp-register-form input[type="text"],
.tmp-register-form input[type="email"],
.tmp-register-form input[type="password"],
.tmp-register-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tmp-form-help {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.tmp-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.tmp-notice {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.tmp-notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.tmp-notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
/* Messages */
.tmp-message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tmp-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.tmp-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.tmp-message-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* États des champs */
.tmp-input-error {
    border-color: #dc3232 !important;
}

.tmp-input-success {
    border-color: #46b450 !important;
}

/* Spinner */
.tmp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
}