/* Profile Page Specific Styles */

.vehicle-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vehicle-image-container {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.vehicle-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
    width: 100%;
}

.vehicle-image:hover {
    transform: scale(1.03);
}

.vehicle-details {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: slideInFromBottom 0.5s ease-out;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.detail-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.detail-row:hover .detail-label i {
    transform: scale(1.2);
}

.detail-value {
    font-weight: 600;
}

.detail-value.highlight {
    color: var(--primary-color);
}

.assignment-info {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease-out;
}

.assignment-label {
    color: var(--text-light);
    margin-right: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.assignment-label i {
    color: var(--primary-color);
}

.assignment-value {
    font-weight: 600;
    flex-grow: 1;
}

.clear-button {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.clear-button:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.vehicle-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInFromBottom 0.5s ease-out;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.file-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-name i {
    color: var(--primary-color);
}

.file-actions {
    display: flex;
    gap: 8px;
}

.file-view-button, .file-delete-button {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.file-view-button {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.file-view-button:hover {
    background-color: rgba(40, 167, 69, 0.2);
}

.file-delete-button {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.file-delete-button:hover {
    background-color: rgba(220, 53, 69, 0.2);
}
