/* Common Form Styles */
.kicppa-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 0 0;
    background: #fff;
}
.kicppa-form .field-column{
	display: flex;
	gap: 10px;
	margin-bottom: 5px;
}
.kicppa-form .field-column>div{
	flex: 1;
}
.kicppa-form label span{
    color: red;
}
.kicppa-field {
    margin-bottom: 15px;
}

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

.kicppa-field input[type="text"],
.kicppa-field input[type="email"],
.kicppa-field input[type="tel"],
.kicppa-field input[type="url"],
.kicppa-field textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.kicppa-field input:focus,
.kicppa-field textarea:focus {
    outline: none;
    border-color: #09195C;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(9, 25, 92, 0.1);
}

.kicppa-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* CV Form Specific Styles */
.kicppa-cv-form {
    background: #fff;
}

/* Modern Upload Area */
.kicppa-upload-area {
    position: relative;
    border: 2px dashed #c1c9d2;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    margin-bottom: 20px;
}

.kicppa-upload-area:hover {
    border-color: #09195C;
    background: #f0f7ff;
}

.kicppa-upload-area.kicppa-dragover {
    border-color: #09195C;
    background: #e7f3ff;
    transform: translateY(-2px);
}

.kicppa-upload-icon {
    margin-bottom: 15px;
    color: #94a3b8;
}

.kicppa-upload-area:hover .kicppa-upload-icon {
    color: #09195C;
}

.kicppa-upload-title {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 5px;
}

.kicppa-upload-subtitle {
    font-size: 11px;
    color: #64748b;
}

.kicppa-upload-button {
    display: inline-block;
    background: #09195C;
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    transition: background 0.3s ease;
}

.kicppa-upload-area:hover .kicppa-upload-button {
    background: #073c8b;
}

.kicppa-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

/* File Preview Card */
.kicppa-file-preview {
    margin-top: 10px;
}

.kicppa-file-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kicppa-file-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #09195C;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.kicppa-file-info {
    flex-grow: 1;
    min-width: 0;
}

.kicppa-file-name {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kicppa-file-size {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.kicppa-remove-file {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    border-radius: 8px;
    padding: 0 !important;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.kicppa-remove-file:hover {
    background: #f8d7da;
    color: #dc3545;
}

/* Submit Button */
.kicppa-submit-button {
    position: relative;
    background: #09195C;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 40px !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.kicppa-submit-button:hover {
    background: #073c8b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 25, 92, 0.2);
}

.kicppa-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.kicppa-spinner-svg {
    width: 20px;
    height: 20px;
    animation: kicppa-rotate 1s linear infinite;
}

@keyframes kicppa-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.kicppa-spinner-path {
    stroke: white;
    stroke-linecap: round;
    animation: kicppa-dash 1.5s ease-in-out infinite;
}

@keyframes kicppa-dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Response Messages */
.kicppa-response {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
}

.kicppa-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.kicppa-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .kicppa-form {
        padding: 20px 0;
    }
    
	.kicppa-field {
	  margin-bottom: 5px;
	}
    .kicppa-file-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .kicppa-file-info {
        text-align: center;
    }
    
    .kicppa-upload-area {
        padding: 20px 10px;
    }
	.kicppa-form .field-column{
		flex-direction: column;
	}
}