﻿
.upload-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    padding-top: 20px;
}

.middle-or {
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-btn {
    width: 100%;
    max-width: 300px;
}

/* Make both uploads the same width */
.upload {
    flex: 1 1 350px;
    max-width: 500px;
    box-sizing: border-box;
}

/* Base phone upload block */
.upload-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Default: both uploads visible */
.upload-sections.both-uploads {
    flex-direction: row;
}

    .upload-sections.both-uploads .upload-phone {
        width: 100%;
        flex-direction: column;
    }

    .upload-sections.both-uploads .or-text {
        margin-bottom: 10px;
    }

/* When only one upload visible */
.upload-sections.single-upload {
    justify-content: center;
}

    .upload-sections.single-upload .upload-phone {
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    .upload-sections.single-upload .or-text {
        margin-bottom: 10px;
    }

