/* Main Container */
.pru-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Upload Box */
.pru-upload-box {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Header */
.pru-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 600;
    color: #e94560;
}

.pru-header p {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Form Elements */
.pru-form-group {
    margin-bottom: 20px;
}

.pru-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.pru-form-group input[type="email"],
.pru-form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pru-form-group input:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

/* File Upload */
.pru-file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.pru-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.pru-file-label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.pru-file-upload:hover .pru-file-label {
    border-color: rgba(233, 69, 96, 0.5);
}

.pru-file-button {
    background: #e94560;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.pru-file-upload:hover .pru-file-button {
    background: #ff6b81;
}

.pru-file-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pru-hint {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Submit Button */
.pru-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e94560, #ff6b81);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pru-submit-btn:hover {
    background: linear-gradient(90deg, #ff6b81, #e94560);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.pru-btn-text {
    transition: all 0.3s ease;
}

.pru-btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alerts */
.pru-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.pru-success {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.pru-error {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Add this to your existing styles.css */
.pru-field-error {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2) !important;
}

.pru-field-error+.pru-hint {
    color: #ff4757;
}