/* intelLoc Frontend Styles */

.intelloc-upload-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intelloc-upload-form .form-group {
    margin-bottom: 25px;
}

.intelloc-upload-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.intelloc-upload-form input[type="text"],
.intelloc-upload-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.intelloc-upload-form input[type="text"]:focus,
.intelloc-upload-form input[type="file"]:focus {
    outline: none;
    border-color: #0066cc;
}

.intelloc-upload-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.intelloc-upload-form .checkbox label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
}

.intelloc-upload-form .checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: auto;
    cursor: pointer;
}

.intelloc-submit-btn {
    width: 100%;
    padding: 15px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.intelloc-submit-btn:hover {
    background: #0052a3;
}

.intelloc-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.intelloc-upload-status {
    margin-top: 25px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    min-height: 80px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: #0066cc;
    transition: width 0.3s;
    width: 0%;
}

.status-message {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.intelloc-my-certificates {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
}

.intelloc-my-certificates h2 {
    color: #0066cc;
    margin-bottom: 30px;
}

.intelloc-certificates-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intelloc-certificates-table code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .intelloc-upload-form,
    .intelloc-my-certificates {
        padding: 20px;
        margin: 20px;
    }
    
    .intelloc-certificates-table {
        font-size: 14px;
    }
    
    .intelloc-certificates-table th,
    .intelloc-certificates-table td {
        padding: 8px !important;
    }
}