/*
 * Branding for 101 Incubator
 */

.c101-portal {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.c101-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.c101-header h2 {
    color: #1a1a1a;
    font-size: 1.75rem;
    margin: 0;
}

.c101-header p {
    color: #666;
    margin-top: 0.5rem;
}

.field-group {
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.c101-portal input[type="text"],
.c101-portal select,
.c101-portal textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.c101-portal input:focus,
.c101-portal textarea:focus {
    border-color: #f27d26; /* 101 Incubator Orange */
    outline: none;
}

.drop-zone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.drop-zone:hover {
    background: #f0f0f0;
    border-color: #f27d26;
}

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

.file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.file-preview-item {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
    border: 1px solid #ddd;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions {
    margin-top: 2rem;
}

.button-primary {
    background: #f27d26 !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: transform 0.1s !important;
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 125, 38, 0.3);
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.message.success {
    background: #e6f7ed;
    color: #1e4620;
    display: block;
}

.message.error {
    background: #fdf2f2;
    color: #9b1c1c;
    display: block;
}
